456ea325a14a64a54945c0844170d1cead93e8e1
[olsrd.git] / lib / pud / doc / Makefile
1 include ../Makefile.inc
2
3 .PHONY: all clean
4
5 clean:
6         rm -fr html latex $(PLUGIN_NAME).pdf
7
8 all: clean doxygen.conf
9         @echo "Updating version..."
10         @sed -r "s/^([[:space:]]*PROJECT_NUMBER[[:space:]]*=).*/\1 $(VERSION)/" doxygen.conf > doxygen.conf.temp
11         @echo "Generating HTML pages..."
12         @doxygen doxygen.conf.temp
13         @rm doxygen.conf.temp
14         @echo "Generating PDF..."
15         @make -C latex -s > /dev/null 2>&1
16         @mv latex/refman.pdf $(PLUGIN_NAME).pdf
17         @rm -fr latex
18         @echo "Done"