]> Creatis software - gdcm.git/blob - Doc/Makefile.am
a15b1452503c183edca7fdd6764f6edbdf9d8442
[gdcm.git] / Doc / Makefile.am
1 HTML_DIR=$(datadir)/gdcm/html
2 TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
3
4 EXTRA_DIST = Doxyfile requirement.txt
5
6 all-local: html/index.html
7
8 if ENABLE_DOXYGEN
9 html/index.html: Doxyfile
10         doxygen Doxyfile
11 else
12 html/index.html:
13 endif
14
15 clean-local:
16         rm -f *~ *.bak
17         rm -rf man latex html rtf
18
19 install-data-local: html
20         $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)
21         (installfiles=`echo html/*`; \
22         if test "$$installfiles" = 'html/*'; \
23         then echo '-- Nothing to install' ; \
24         else \
25           for i in $$installfiles; do \
26             echo '-- Installing '$$i ; \
27             $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
28           done; \
29         fi)
30
31 dist-hook:
32         rm -rf $(distdir)/html
33
34 .PHONY : html latex man