]> Creatis software - gdcm.git/blob - Doc/Makefile.am
* src/gdcmElValSet.cxx, gdcmFile.cxx: JPR bug fix, removal of
[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
14
15 if ENABLE_DOXYGEN
16 html.developper/index.html: DoxyfileDeveloppers
17         doxygen DoxyfileDeveloppers
18 else
19 html.developper/index.html:
20 endif
21
22 clean-local:
23         rm -f *~ *.bak
24         rm -rf man latex html.developper rtf
25
26 install-data-local: html.developper
27         $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)
28         (installfiles=`echo html.developper/*`; \
29         if test "$$installfiles" = 'html.developper/*'; \
30         then echo '-- Nothing to install' ; \
31         else \
32           for i in $$installfiles; do \
33             echo '-- Installing '$$i ; \
34             $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
35           done; \
36         fi)
37
38 dist-hook:
39         rm -rf $(distdir)/html.developper
40
41 .PHONY : html.developper latex man