pygtk r3019 - in trunk: . docs



Author: gianmt
Date: Thu Aug 21 19:32:04 2008
New Revision: 3019
URL: http://svn.gnome.org/viewvc/pygtk?rev=3019&view=rev

Log:
Fix a problem with distcheck and avoid including .svn dir in the resulting tarball.

Modified:
   trunk/ChangeLog
   trunk/docs/Makefile.am

Modified: trunk/docs/Makefile.am
==============================================================================
--- trunk/docs/Makefile.am	(original)
+++ trunk/docs/Makefile.am	Thu Aug 21 19:32:04 2008
@@ -581,20 +581,22 @@
 	html/unixprint-functions.html
 
 
-
 CSS_FILES = $(PYGOBJECT_PYGDOCS)/style.css
 
 TARGET_DIR = $(datadir)/gtk-doc/html/pygtk
 CSSdir = $(TARGET_DIR)
 
 EXTRA_DIST = 				\
-	icons/*.png			\
-	cursors/*.png			\
+	cursors icons			\
 	$(HTML_FILES)			\
 	$(XMLFILES) 			\
 	$(XSLFILES)			\
 	$(FIX_XREF)
 
+dist-hook:
+	rm -rf `find $(distdir)/cursors -name .svn`
+	rm -rf `find $(distdir)/icons -name .svn`
+
 install-data-local:
 	installfiles=`echo $(srcdir)/html/*`; \
 	if test "$$installfiles" = '$(srcdir)/html/*'; \
@@ -636,9 +638,9 @@
 	@$(PYTHON) -c 'import datetime; print datetime.date.today()' > $@
 
 
-# Do not add a builddate.xml dependency here, because the generated html 
-# documentation will be included in the tarball so xsltproc is not needed to 
-# install the documentation. Adding a builddate.xml dependency will force 
+# Do not add a builddate.xml dependency here, because the generated html
+# documentation will be included in the tarball so xsltproc is not needed to
+# install the documentation. Adding a builddate.xml dependency will force
 # the documentation to be rebuilt when it doesn't need to be.
 $(HTML_FILES): $(XMLFILES) $(XSLFILES)
 	@xsltproc --nonet --xinclude -o $(BUILDDIR)/html/ \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]