Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/eet

Dir     : e17/libs/eet/doc


Modified Files:
        Makefile.am 


Log Message:
add clean rules and add files for distribution
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/eet/doc/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 29 Sep 2005 07:56:42 -0000      1.2
+++ Makefile.am 29 Sep 2005 10:15:47 -0000      1.3
@@ -8,7 +8,7 @@
 
 # rule to remove all old created files
 doc-prepare.stamp:
-       @if test x"html" != x ; then \
+       @if test -d html ; then \
          rm -rf html/ latex/ man/ xml/; \
        fi
 
@@ -17,18 +17,32 @@
        @doxygen
        @cp img/*.png html/
 
+# rules to clean
+clean-local:
+       @rm -rf html/ latex/ man/ xml/
+
+distclean-local: clean
+       rm -f Makefile.in
+
 # rule to install the documentation in $(docdir)
 install-data-local:
-       @if ! test -d "$(DESTDIR)$(datadir)/$(PACKAGE)"; then \
-         mkdir "$(DESTDIR)$(datadir)/$(PACKAGE)"; \
+       @if ! test -d $(DESTDIR)$(datadir)/$(PACKAGE); then \
+         mkdir $(DESTDIR)$(datadir)/$(PACKAGE); \
        fi
-       @if ! test -d "$(DESTDIR)$(docdir)"; then \
-         mkdir "$(DESTDIR)$(docdir)"; \
+       @if ! test -d $(DESTDIR)$(docdir); then \
+         mkdir $(DESTDIR)$(docdir); \
        fi
-       @cp -pr html/ man/ latex/ xml/ "$(DESTDIR)$(docdir)"
+       @cp -pr html/ man/ latex/ xml/ $(DESTDIR)$(docdir)
 
 # rule to uninstall the documentation
 uninstall-local:
-       rm -rf $(docdir)
+       rm -rf $(DESTDIR)$(docdir)
+
+
+MAINTAINERCLEANFILES = Makefile.in eet.c
+
+DISTCLEANFILES = Makefile.in eet.c
+
+EXTRA_DIST = Doxyfile eet.css foot.html head.html img/
 
 endif




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to