[brlcad-commits] SF.net SVN: brlcad: [30258] brlcad/trunk/Makefile.am
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2008-02-09 14:23:39
|
Revision: 30258 http://brlcad.svn.sourceforge.net/brlcad/?rev=30258&view=rev Author: brlcad Date: 2008-02-09 06:23:44 -0800 (Sat, 09 Feb 2008) Log Message: ----------- update the distcheck hook for finding missing files to work with Subversion Modified Paths: -------------- brlcad/trunk/Makefile.am Modified: brlcad/trunk/Makefile.am =================================================================== --- brlcad/trunk/Makefile.am 2008-02-09 14:21:39 UTC (rev 30257) +++ brlcad/trunk/Makefile.am 2008-02-09 14:23:44 UTC (rev 30258) @@ -296,13 +296,14 @@ @$(ECHO) " make tar - Builds a uncompressed tape archive" @$(ECHO) -# delete files that should not be in the distribution +# make sure all files are in the repository are also in the dist. +# make sure files that should not be in the distribution in fact are +# not included. dist-hook: - echo "This is probably busted horribly. FIXME to use SVN entries." - files="`find . -name Entries -exec grep -v '^D' {} /dev/null \; | sed 's/:\(\/[^\/]*\)\/.*/\1/g' | sed 's/\/CVS\/Entries//g' | grep -v 'brlcad-' | grep -v .cvsignore`" ; \ + files="`find . -name entries -exec grep 'name=' {} /dev/null \; | sed 's/:[[:space:]]*name=\"\(.*\)\"/\1/g' | sed 's/\/\.svn\/entries/\//g' | grep -v 'brlcad-' | grep -v '\/$$'`" ; \ missing=0 ; \ for file in $$files ; do \ - if test ! -f $(distdir)/$$file ; then \ + if test ! -e $(distdir)/$$file ; then \ missing=1 ; \ echo "MISSING FROM DIST: $$file" ; \ fi ; \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |