[Zope-Checkins] SVN: Zope/trunk/inst/Makefile.in Some more changes to accomodate for the Zope2 egg/buildout.
Florian Schulze
florian.schulze at gmx.net
Wed Aug 27 05:32:04 EDT 2008
Log message for revision 90414:
Some more changes to accomodate for the Zope2 egg/buildout.
Changed:
U Zope/trunk/inst/Makefile.in
-=-
Modified: Zope/trunk/inst/Makefile.in
===================================================================
--- Zope/trunk/inst/Makefile.in 2008-08-27 09:06:27 UTC (rev 90413)
+++ Zope/trunk/inst/Makefile.in 2008-08-27 09:32:04 UTC (rev 90414)
@@ -25,6 +25,7 @@
RM=rm -f
RMRF=rm -rf
FIND=find
+GREP=grep
XARGS=xargs
CD=cd
LN=ln -sfn
@@ -103,7 +104,9 @@
# the source directory for good measure.
clean: unbuild
${FIND} "${BASE_DIR}" \
- -name '*.py[co]' -o -name '*.so' -o -name '*.o' | ${XARGS} ${RM}
+ -name '*.py[co]' -o -name '*.so' -o -name '*.o' | \
+ grep -vE "${BASE_DIR}/src|${BASE_DIR}/parts|${BASE_DIR}/eggs" | \
+ ${XARGS} ${RM}
${RM} "$(BASE_DIR)/lib/python/Zope2/version.txt"
${RMRF} build
@@ -112,7 +115,7 @@
printf "Zope ${MAJOR_VERSION}.${MINOR_VERSION}-${RELEASE_TAG}" >\
"${BASE_DIR}/lib/python/Zope2/version.txt"
-sdist: clobber sdist_tgz
+sdist: clean sdist_tgz
# sdist_tgz: Create a tgz archive file as a source distribution.
#
@@ -130,6 +133,7 @@
--exclude=build-base \
--exclude=bootstrap \
--exclude=develop-eggs \
+ --exclude=eggs \
--exclude=include \
--exclude=parts \
--exclude=src \
More information about the Zope-Checkins
mailing list