aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: 2a0250b6c65ce97fd0019f305696707221251d2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
EXTRA_DIST=Doxyfile.in examples.h mainpage.h

if HAVE_DOXYGEN
pkgdocdir=$(datadir)/doc/$(PACKAGE)-$(VERSION)
htmldocdir=$(pkgdocdir)/html

all-local:
	doxygen

install-data-local:
	$(INSTALL) -d $(DESTDIR)$(htmldocdir)
	$(INSTALL_DATA) html/* $(DESTDIR)$(htmldocdir)

uninstall-local:
	$(RM) -r $(DESTDIR)$(htmldocdir)
	$(RM) -r $(DESTDIR)$(pkgdocdir)

clean-local:
	$(RM) -r html latex man
endif