summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorFilippo Giunchedi <[email protected]>2009-10-04 17:33:56 (GMT)
committer Filippo Giunchedi <[email protected]>2009-10-04 17:33:56 (GMT)
commitc145d371c05cca0ef70353585ce8dcf2fff786b7 (patch)
treeaed229d0965b0ca831028f7f83625a06a5300609 /doc/Makefile.am
parentd231fae598dc336f4b3ac8f0add030ce9cd59c3d (diff)
autotoolized doc/
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 0000000..d3d208e
--- a/dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1,22 @@
+EXTRA_DIST = muse.doxygen.in
+
+installdest = $(DESTDIR)$(docdir)/
+htmlbuild = html
+
+doxygen-stamp: muse.doxygen
+ $(DOXYGEN) muse.doxygen
+ touch doxygen-stamp
+
+noinst_DATA = doxygen-stamp
+
+install-data-local:
+ $(INSTALL) -d $(installdest)
+ for d in `find $(htmlbuild) -type d`; do $(INSTALL) -m755 -d $(installdest)/$$d; done
+ for f in `find $(htmlbuild) -type f`; do $(INSTALL) -m644 $$f $(installdest)/$$f; done
+
+uninstall-local:
+ rm -rf $(installdest)/$(htmlbuild)/
+
+clean-local:
+ rm -rf doxygen-stamp
+ rm -rf html latex rtf man