summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--legacy/eet/Makefile.am5
-rw-r--r--legacy/eet/doc/Makefile.am28
2 files changed, 23 insertions, 10 deletions
diff --git a/legacy/eet/Makefile.am b/legacy/eet/Makefile.am
index 20512fac12..5954d4f534 100644
--- a/legacy/eet/Makefile.am
+++ b/legacy/eet/Makefile.am
@@ -12,7 +12,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
12 config.h.in config.sub configure install-sh \ 12 config.h.in config.sub configure install-sh \
13 ltconfig ltmain.sh missing mkinstalldirs \ 13 ltconfig ltmain.sh missing mkinstalldirs \
14 stamp-h.in build-stamp configure-stamp depcomp \ 14 stamp-h.in build-stamp configure-stamp depcomp \
15 eet_docs.tar.gz eet.c \ 15 eet_docs.tar.gz \
16 README \ 16 README \
17 eet.pc \ 17 eet.pc \
18 eet.spec \ 18 eet.spec \
@@ -22,8 +22,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
22 22
23bin_SCRIPTS = eet-config 23bin_SCRIPTS = eet-config
24 24
25EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN eet.c.in gendoc \ 25EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN eet.c.in \
26 Doxyfile \
27 README.in README \ 26 README.in README \
28 eet.pc.in \ 27 eet.pc.in \
29 eet.spec.in eet.spec \ 28 eet.spec.in eet.spec \
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