summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/source.mk b/source.mk
index 35964b5..28dc9be 100644
--- a/source.mk
+++ b/source.mk
@@ -6,13 +6,11 @@ UPSTREAM_SVN_REV = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | \
SOURCE = eglibc-$(OPK_SOURCE_VERSION_UPSTREAM)
SOURCE_ARCHIVE = ../$(SOURCE).orig.tar.bz2
-$(SOURCE):
+$(SOURCE_ARCHIVE):
svn export -r "$(UPSTREAM_SVN_REV)" "$(UPSTREAM_SVN_URI)" \
'eglibc-$(OPK_SOURCE_VERSION_UPSTREAM)'
rm -Rf '$(SOURCE)/libc/manual'
-
-$(SOURCE_ARCHIVE): $(SOURCE)
tar -cjf '$(SOURCE_ARCHIVE)' '$(SOURCE)'
- rm -Rf '$(SOURCE)'
+ mv '$(SOURCE)' src
source: $(SOURCE_ARCHIVE)