OSDN Git Service

add cleanup file
authortsutsumi <>
Sat, 13 Sep 2003 09:24:36 +0000 (09:24 +0000)
committertsutsumi <>
Sat, 13 Sep 2003 09:24:36 +0000 (09:24 +0000)
add dist target

doc/Makefile.am

index 404b90c..9d702e0 100644 (file)
@@ -21,6 +21,11 @@ uninstall-local:
 
 dox: html/index.html
 
+EXTRA_DIST += html
+
+dist-hook:
+       cp $(static_pages) $(distdir)/doc/html
+
 else
 
 # We repeat the three targets in both the "if" and "else" clauses
@@ -41,12 +46,6 @@ all-local: dox
 html/index.html: Doxyfile $(doxygen_input) $(CCUNITSRCS)
        @DOXYGEN@
 
-
-# Make tarfile to distribute the HTML documentation.
-doc-dist: dox
-       cp $(static_pages) html
-       tar -czf $(PACKAGE)-docs-$(VERSION).tar.gz -C html .
-
 pdf: @PACKAGE@.pdf
 @PACKAGE@.pdf:
        $(MAKE) -C ./latex pdf
@@ -57,3 +56,5 @@ pdf: @PACKAGE@.pdf
 clean-local:
        $(RM) -r latex
        $(RM) -r html man @PACKAGE@.ps @PACKAGE@.pdf
+
+CLEANFILES=*~ .*~ ./\#*\# *.log