diff options
author | P. 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) |
commit | 1c2aa340112ebc0444b8fefb3396d3d722414f09 (patch) | |
tree | e8a80f6f2ca22e1c8ded44d87dcce69ba86120de | |
parent | d0cf38a6c622b4bfb0e84f1747cb35c9dfcb6f10 (diff) |
source.mk: Remove source directory target.
-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) |