summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-03-31 23:22:14 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-03-31 23:22:14 (EDT)
commit8d216fb348c07289b5b751dba4fcf225a24142a2 (patch)
tree470602abc1a17ef2c151b02ac1fb5782a8cc385d
parent6460a4dd17e0f39aa09dd351ab40e0e892a852a7 (diff)
Don't remove libc/manual/Makefile from source.
-rw-r--r--eglibc-2.17~r22751+sip1.orig.tar.bz2bin17597786 -> 17603202 bytes
-rw-r--r--source.mk11
2 files changed, 10 insertions, 1 deletions
diff --git a/eglibc-2.17~r22751+sip1.orig.tar.bz2 b/eglibc-2.17~r22751+sip1.orig.tar.bz2
index 04332d3..99dcaab 100644
--- a/eglibc-2.17~r22751+sip1.orig.tar.bz2
+++ b/eglibc-2.17~r22751+sip1.orig.tar.bz2
Binary files differ
diff --git a/source.mk b/source.mk
index 28dc9be..52f5b9b 100644
--- a/source.mk
+++ b/source.mk
@@ -9,8 +9,17 @@ SOURCE_ARCHIVE = ../$(SOURCE).orig.tar.bz2
$(SOURCE_ARCHIVE):
svn export -r "$(UPSTREAM_SVN_REV)" "$(UPSTREAM_SVN_URI)" \
'eglibc-$(OPK_SOURCE_VERSION_UPSTREAM)'
- rm -Rf '$(SOURCE)/libc/manual'
+ for file in '$(SOURCE)/libc/manual/'*; do \
+ case "$${file}" in \
+ '$(SOURCE)/libc/manual/Makefile') \
+ ;; \
+ *) \
+ rm -Rf "$${file}"; \
+ ;; \
+ esac; \
+ done
tar -cjf '$(SOURCE_ARCHIVE)' '$(SOURCE)'
+ rm -Rf src
mv '$(SOURCE)' src
source: $(SOURCE_ARCHIVE)