summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-03-30 22:21:22 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-03-30 22:21:22 (EDT)
commit1c2aa340112ebc0444b8fefb3396d3d722414f09 (patch)
treee8a80f6f2ca22e1c8ded44d87dcce69ba86120de
parentd0cf38a6c622b4bfb0e84f1747cb35c9dfcb6f10 (diff)
source.mk: Remove source directory target.
-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)