summaryrefslogtreecommitdiff
path: root/legacy/eet/doc
diff options
context:
space:
mode:
authordoursse <doursse>2005-09-29 10:15:47 +0000
committerdoursse <doursse@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-09-29 10:15:47 +0000
commite69de7fbae45b918307f720ef29160fbf9345432 (patch)
tree3340991be22d61387f91d22751cdad6ee5259a1e /legacy/eet/doc
parentf6a74a24f7b3093455ef10a4e441c2e1bd61b0ef (diff)
add clean rules and add files for distribution
SVN revision: 17062
Diffstat (limited to 'legacy/eet/doc')
-rw-r--r--legacy/eet/doc/Makefile.am28
1 files changed, 21 insertions, 7 deletions
diff --git a/legacy/eet/doc/Makefile.am b/legacy/eet/doc/Makefile.am
index 844a02f880..b76ecc16b3 100644
--- a/legacy/eet/doc/Makefile.am
+++ b/legacy/eet/doc/Makefile.am
@@ -8,7 +8,7 @@ all-local: doc-build.stamp
8 8
9# rule to remove all old created files 9# rule to remove all old created files
10doc-prepare.stamp: 10doc-prepare.stamp:
11 @if test x"html" != x ; then \ 11 @if test -d html ; then \
12 rm -rf html/ latex/ man/ xml/; \ 12 rm -rf html/ latex/ man/ xml/; \
13 fi 13 fi
14 14
@@ -17,18 +17,32 @@ doc-build.stamp: doc-prepare.stamp
17 @doxygen 17 @doxygen
18 @cp img/*.png html/ 18 @cp img/*.png html/
19 19
20# rules to clean
21clean-local:
22 @rm -rf html/ latex/ man/ xml/
23
24distclean-local: clean
25 rm -f Makefile.in
26
20# rule to install the documentation in $(docdir) 27# rule to install the documentation in $(docdir)
21install-data-local: 28install-data-local:
22 @if ! test -d "$(DESTDIR)$(datadir)/$(PACKAGE)"; then \ 29 @if ! test -d $(DESTDIR)$(datadir)/$(PACKAGE); then \
23 mkdir "$(DESTDIR)$(datadir)/$(PACKAGE)"; \ 30 mkdir $(DESTDIR)$(datadir)/$(PACKAGE); \
24 fi 31 fi
25 @if ! test -d "$(DESTDIR)$(docdir)"; then \ 32 @if ! test -d $(DESTDIR)$(docdir); then \
26 mkdir "$(DESTDIR)$(docdir)"; \ 33 mkdir $(DESTDIR)$(docdir); \
27 fi 34 fi
28 @cp -pr html/ man/ latex/ xml/ "$(DESTDIR)$(docdir)" 35 @cp -pr html/ man/ latex/ xml/ $(DESTDIR)$(docdir)
29 36
30# rule to uninstall the documentation 37# rule to uninstall the documentation
31uninstall-local: 38uninstall-local:
32 rm -rf $(docdir) 39 rm -rf $(DESTDIR)$(docdir)
40
41
42MAINTAINERCLEANFILES = Makefile.in eet.c
43
44DISTCLEANFILES = Makefile.in eet.c
45
46EXTRA_DIST = Doxyfile eet.css foot.html head.html img/
33 47
34endif 48endif