diff options
-rw-r--r-- | source.mk | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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) |