]> Creatis software - gdcm.git/blobdiff - Doc/Makefile.am
ENH: Fix a shadow variable
[gdcm.git] / Doc / Makefile.am
index a15b1452503c183edca7fdd6764f6edbdf9d8442..43b56dd2a0adbacb95d9d71b4dad20fbe9dd57ba 100644 (file)
@@ -1,25 +1,35 @@
 HTML_DIR=$(datadir)/gdcm/html
 TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
 
-EXTRA_DIST = Doxyfile requirement.txt
+EXTRA_DIST = \
+  DoxyfileDeveloppers  \
+  DoxyfileUsers        \
+  DoxyDevelInstal.txt  \
+  DoxyIntroduction.txt \
+  DoxyPython.txt       \
+  DoxyInstallation.txt \
+  DoxyMainPage.txt
 
-all-local: html/index.html
+all-local: html.developper/index.html html.user/index.html
 
 if ENABLE_DOXYGEN
-html/index.html: Doxyfile
-       doxygen Doxyfile
+html.developper/index.html: DoxyfileDeveloppers
+       doxygen DoxyfileDeveloppers
+html.user/index.html: DoxyfileUsers
+       doxygen DoxyfileUsers   
 else
-html/index.html:
+html.developper/index.html:
+html.user/index.html:
 endif
 
 clean-local:
        rm -f *~ *.bak
-       rm -rf man latex html rtf
+       rm -rf man latex html.developper html.user rtf
 
-install-data-local: html
+install-data-local: html.developper html.user
        $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)
-       (installfiles=`echo html/*`; \
-        if test "$$installfiles" = 'html/*'; \
+       (installfiles=`echo html.developper/*`; \
+        if test "$$installfiles" = 'html.developper/*'; \
         then echo '-- Nothing to install' ; \
         else \
           for i in $$installfiles; do \
@@ -29,6 +39,6 @@ install-data-local: html
         fi)
 
 dist-hook:
-       rm -rf $(distdir)/html
+       rm -rf $(distdir)/html.developper $(distdir)/html.user
 
-.PHONY : html latex man
+.PHONY : html.developper html.user latex man