Debian Codegraph @

docs/doxygen/Makefile.am

raw
1 docpkg = $(PACKAGE_TARNAME)-doxy-$(PACKAGE_VERSION).tar.gz
2 doc_DATA = $(docpkg)
3
4 $(docpkg): doxygen.stamp
5 tar chof - html | gzip -9 -c >$@
6
7 doxygen.stamp: doxyfile
8 $(DOXYGEN) $(DOXYFLAGS) $<
9 echo Timestamp > $@
10
11 install-data-hook:
12 cd $(DESTDIR)$(docdir) && tar xf $(docpkg)
13
14 uninstall-hook:
15 cd $(DESTDIR)$(docdir) && rm -rf html
16 cd $(DESTDIR)$(docdir) && rm -rf latex
17
18 CLEANFILES = doxywarn.txt doxygen.stamp $(docpkg)
19
20 clean-local:
21 rm -rf html
22 rm -rf latex