[CalendarServer-changes] [5072] CalendarServer/trunk/support/Makefile.Apple
source_changes at macosforge.org
source_changes at macosforge.org
Tue Feb 9 09:40:59 PST 2010
Revision: 5072
http://trac.macosforge.org/projects/calendarserver/changeset/5072
Author: wsanchez at apple.com
Date: 2010-02-09 09:40:54 -0800 (Tue, 09 Feb 2010)
Log Message:
-----------
Work around setuptools' stupid need to download a new version.
Modified Paths:
--------------
CalendarServer/trunk/support/Makefile.Apple
Modified: CalendarServer/trunk/support/Makefile.Apple
===================================================================
--- CalendarServer/trunk/support/Makefile.Apple 2010-02-09 16:42:07 UTC (rev 5071)
+++ CalendarServer/trunk/support/Makefile.Apple 2010-02-09 17:40:54 UTC (rev 5072)
@@ -138,16 +138,20 @@
@echo "Extracting source for $(notdir $<)..."
$(_v) $(MKDIR) -p "$(BuildDirectory)"
$(_v) $(RMDIR) "$@"
- $(_v) $(TAR) -C "$(BuildDirectory)" -xzf $<
+ $(_v) $(TAR) -C "$(BuildDirectory)" -xzf "$<"
%.tgz: ../%
@echo "Archiving sources for $(notdir $<)..."
+ $(_v) if [ -f "$</setup.py" ] && grep setuptools "$</setup.py" > /dev/null; then \
+ echo "Working around setuptools' stupid need to download a new version."; \
+ cd "$<" && $(PYTHON) "setup.py" --help >/dev/null; \
+ fi
$(_v) $(TAR) -C "$(dir $<)" \
--exclude=.svn \
--exclude=build \
--exclude=_trial_temp \
--exclude=dropin.cache \
- -czf $@ "$(notdir $<)"
+ -czf "$@" "$(notdir $<)"
#
# Open Source Hooey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100209/109bc46d/attachment.html>
More information about the calendarserver-changes
mailing list