- Revision
- 11215
- Author
- bear
- Date
- 2006-07-20 19:14:39 -0700 (Thu, 20 Jul 2006)
Log Message
Updating binaries target to do the following:
- move *.pyc and *.pyo exclude from a find/xargs/rm combo to a tar --exclude option
- move the cd $() to a tar -C option
fixes bug 5660
- move *.pyc and *.pyo exclude from a find/xargs/rm combo to a tar --exclude option
- move the cd $() to a tar -C option
fixes bug 5660
Modified Paths
Diff
Modified: trunk/external/dateutil/Makefile (11214 => 11215)
--- trunk/external/dateutil/Makefile 2006-07-21 01:06:14 UTC (rev 11214) +++ trunk/external/dateutil/Makefile 2006-07-21 02:14:39 UTC (rev 11215) @@ -30,10 +30,9 @@ install --force binaries: strip - cd $(BUILD_ROOT); \ - find $(MANIFEST) -name "*.pyc" | xargs rm -f; \ - find $(MANIFEST) -name "*.pyo" | xargs rm -f; \ - tar -C $(BUILD_ROOT) -cvzf $(DATEUTIL)/$(TARBALL) $(MANIFEST) + tar -C $(BUILD_ROOT) -cvzf $(DATEUTIL)/$(TARBALL) \ + --exclude '*.py?' \ + $(MANIFEST) install: $(TARBALL) cp -p $(TARBALL) $(CHANDLERARCHIVES)
Modified: trunk/external/elementtree/Makefile (11214 => 11215)
--- trunk/external/elementtree/Makefile 2006-07-21 01:06:14 UTC (rev 11214) +++ trunk/external/elementtree/Makefile 2006-07-21 02:14:39 UTC (rev 11215) @@ -28,12 +28,9 @@ expand: elementtree-$(VERSION)-expanded binaries: strip - cd $(BUILD_ROOT); \ - find $(SNAP)/$(SITE)/elementtree -name "*.pyc" | xargs rm -f; \ - find $(SNAP)/$(SITE)/elementtree -name "*.pyo" | xargs rm -f; \ - tar -cvzf $(ETREE)/$(TARBALL) \ - --exclude test \ - $(SNAP)/$(SITE)/elementtree + tar -C $(BUILD_ROOT) -cvzf $(ETREE)/$(TARBALL) \ + --exclude test --exclude '*.py?' \ + $(SNAP)/$(SITE)/elementtree install: $(TARBALL) cp -p $(TARBALL) $(CHANDLERARCHIVES)
Modified: trunk/external/epydoc/Makefile (11214 => 11215)
--- trunk/external/epydoc/Makefile 2006-07-21 01:06:14 UTC (rev 11214) +++ trunk/external/epydoc/Makefile 2006-07-21 02:14:39 UTC (rev 11215) @@ -33,12 +33,9 @@ expand: epydoc-$(VERSION)-expanded binaries: strip - cd $(BUILD_ROOT); \ - find $(SNAP)/$(SITE)/epydoc -name "*.pyc" | xargs rm -f; \ - find $(SNAP)/$(SITE)/epydoc -name "*.pyo" | xargs rm -f; \ - tar -cvzf $(EPYDOC)/$(TARBALL) \ - --exclude test \ - $(SNAP)/$(SITE)/epydoc + tar -C $(BUILD_ROOT) -cvzf $(EPYDOC)/$(TARBALL) \ + --exclude test --exclude '*.py?' \ + $(SNAP)/$(SITE)/epydoc install: $(TARBALL) cp -p $(TARBALL) $(CHANDLERARCHIVES)
Modified: trunk/external/pychecker/Makefile (11214 => 11215)
--- trunk/external/pychecker/Makefile 2006-07-21 01:06:14 UTC (rev 11214) +++ trunk/external/pychecker/Makefile 2006-07-21 02:14:39 UTC (rev 11215) @@ -38,12 +38,10 @@ expand: pychecker-$(VERSION)-expanded binaries: strip - cd $(BUILD_ROOT); \ - find $(SNAP)/$(SITE)/pychecker -name "*.pyc" | xargs rm -f; \ - find $(SNAP)/$(SITE)/pychecker -name "*.pyo" | xargs rm -f; \ - tar -cvzf $(PYCHECKER)/$(TARBALL) \ - $(SNAP)/$(SITE)/pychecker \ - $(SNAP)/$(BIN)/pychecker* + tar -C $(BUILD_ROOT) -cvzf $(PYCHECKER)/$(TARBALL) \ + --exclude '*.py?' \ + $(SNAP)/$(SITE)/pychecker \ + $(SNAP)/$(BIN)/pychecker install: $(TARBALL) cp -p $(TARBALL) $(CHANDLERARCHIVES)
Modified: trunk/external/pylint/Makefile (11214 => 11215)
--- trunk/external/pylint/Makefile 2006-07-21 01:06:14 UTC (rev 11214) +++ trunk/external/pylint/Makefile 2006-07-21 02:14:39 UTC (rev 11215) @@ -51,12 +51,9 @@ $(MAKE) -C astng DEBUG=$(DEBUG) binaries binaries: binaries-common binaries-astng strip - cd $(BUILD_ROOT); \ - find $(SNAP)/$(SITE)/pylint -name "*.pyc" | xargs rm -f; \ - find $(SNAP)/$(SITE)/pylint -name "*.pyo" | xargs rm -f; \ - tar -cvzf $(PYLINT)/pylint-$(SNAP)-$(RELVER).tar.gz \ - --exclude test \ - $(SNAP)/$(SITE)/pylint + tar -C $(BUILD_ROOT) -cvzf $(PYLINT)/pylint-$(SNAP)-$(RELVER).tar.gz \ + --exclude test --exclude '*.py?' \ + $(SNAP)/$(SITE)/pylint install-common: $(MAKE) -C common DEBUG=$(DEBUG) install
Modified: trunk/external/twisted/Makefile (11214 => 11215)
--- trunk/external/twisted/Makefile 2006-07-21 01:06:14 UTC (rev 11214) +++ trunk/external/twisted/Makefile 2006-07-21 02:14:39 UTC (rev 11215) @@ -33,11 +33,8 @@ expand: Twisted-$(VERSION)-expanded binaries: strip - cd $(BUILD_ROOT); \ - find $(SNAP)/$(SITE)/twisted -name "*.pyc" | xargs rm -f; \ - find $(SNAP)/$(SITE)/twisted -name "*.pyo" | xargs rm -f; \ - tar -cvzf $(TWISTED)/$(TARBALL) \ - --exclude test \ + tar -C $(BUILD_ROOT) -cvzf $(TWISTED)/$(TARBALL) \ + --exclude test --exclude '*.py?' \ $(SNAP)/$(SITE)/twisted install: $(TARBALL)
Modified: trunk/external/vobject/Makefile (11214 => 11215)
--- trunk/external/vobject/Makefile 2006-07-21 01:06:14 UTC (rev 11214) +++ trunk/external/vobject/Makefile 2006-07-21 02:14:39 UTC (rev 11215) @@ -37,7 +37,9 @@ install --force binaries: strip - tar -C $(BUILD_ROOT) -cvzf $(VOBJECT)/$(TARBALL) $(MANIFEST) + tar -C $(BUILD_ROOT) -cvzf $(VOBJECT)/$(TARBALL) \ + --exclude '*.py?' \ + $(MANIFEST) install: $(TARBALL) cp -p $(TARBALL) $(CHANDLERARCHIVES)
Modified: trunk/external/zanshin/Makefile (11214 => 11215)
--- trunk/external/zanshin/Makefile 2006-07-21 01:06:14 UTC (rev 11214) +++ trunk/external/zanshin/Makefile 2006-07-21 02:14:39 UTC (rev 11215) @@ -27,12 +27,9 @@ expand: zanshin-$(VERSION)-expanded binaries: strip - cd $(BUILD_ROOT); \ - find $(SNAP)/$(SITE)/zanshin -name "*.pyc" | xargs rm -f; \ - find $(SNAP)/$(SITE)/zanshin -name "*.pyo" | xargs rm -f; \ - tar -cvzf $(ZANSHIN)/$(TARBALL) \ - --exclude test \ - $(SNAP)/$(SITE)/zanshin + tar -C $(BUILD_ROOT) -cvzf $(ZANSHIN)/$(TARBALL) \ + --exclude test --exclude '*.py?' \ + $(SNAP)/$(SITE)/zanshin install: $(TARBALL) cp -p $(TARBALL) $(CHANDLERARCHIVES)
Modified: trunk/external/zope/Makefile (11214 => 11215)
--- trunk/external/zope/Makefile 2006-07-21 01:06:14 UTC (rev 11214) +++ trunk/external/zope/Makefile 2006-07-21 02:14:39 UTC (rev 11215) @@ -33,12 +33,8 @@ expand: ZopeInterface-$(VERSION)-expanded binaries: strip - cd $(BUILD_ROOT); \ - find $(SNAP)/$(SITE)/zope -name "*.pyc" | xargs rm -f; \ - find $(SNAP)/$(SITE)/zope -name "*.pyo" | xargs rm -f; \ - tar -cvzf $(ZOPE)/$(TARBALL) \ - --exclude tests \ - --exclude testing \ + tar -C $(BUILD_ROOT) -cvzf $(ZOPE)/$(TARBALL) \ + --exclude tests --exclude testing --exclude '*.py?' \ $(SNAP)/$(SITE)/zope install: $(TARBALL)
_______________________________________________ Commits mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/commits
