summaryrefslogtreecommitdiff
path: root/legacy/eet/doc/Makefile.am
diff options
context:
space:
mode:
authordoursse <doursse>2005-09-27 22:10:09 +0000
committerdoursse <doursse@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-09-27 22:10:09 +0000
commit857aefef11ad9b1ea20237bd72e73dd601d8d5a0 (patch)
tree304dc27fb60d294257597172936734a2bcb6d71c /legacy/eet/doc/Makefile.am
parent5d0175b6367f33a5d713d7909a351f08dc1d4043 (diff)
installation of the doc with the autofoo. gendoc is not used anymore. The documentation is built and installed only if doxygen exists. If it's good, I'll commit the same stuff for the other packages
SVN revision: 17001
Diffstat (limited to 'legacy/eet/doc/Makefile.am')
-rw-r--r--legacy/eet/doc/Makefile.am34
1 files changed, 34 insertions, 0 deletions
diff --git a/legacy/eet/doc/Makefile.am b/legacy/eet/doc/Makefile.am
new file mode 100644
index 0000000000..db146449be
--- /dev/null
+++ b/legacy/eet/doc/Makefile.am
@@ -0,0 +1,34 @@
1
2if BUILD_DOCS
3
4# install documentation
5docdir = $(datadir)/$(PACKAGE)/doc
6
7all-local: doc-build.stamp
8
9# rule to remove all old created files
10doc-prepare.stamp:
11 @if test x"html" != x ; then \
12 rm -rf html/ latex/ man/ xml/; \
13 fi
14
15# rule to build documentation and copy necessary files
16doc-build.stamp: doc-prepare.stamp
17 @doxygen
18 @cp img/*.png html/
19
20# rule to install the documentation in $(docdir)
21install-data-local:
22 @if ! test -d $(datadir)/$(PACKAGE); then \
23 mkdir $(datadir)/$(PACKAGE); \
24 fi
25 @if ! test -d $(docdir); then \
26 mkdir $(docdir); \
27 fi
28 @cp -pr html/ man/ latex/ xml/ $(docdir)
29
30# rule to uninstall the documentation
31uninstall-local:
32 rm -rf $(docdir)
33
34endif