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