[critterding] 16/24: Remove prebuilt Windows binaries from tarball.
Gabriele Giacone
gg0-guest at moszumanska.debian.org
Sat Aug 2 22:43:31 UTC 2014
This is an automated email from the git hooks/post-receive script.
gg0-guest pushed a commit to branch master
in repository critterding.
commit 59d351ee60f3f88f93b8e0512488e80369918223
Author: Gabriele Giacone <1o5g4r8o at gmail.com>
Date: Sat Aug 2 14:05:33 2014 +0200
Remove prebuilt Windows binaries from tarball.
---
debian/README.source | 8 ++++++++
debian/changelog | 1 +
debian/rules | 15 ++++++++++++---
3 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..3af9612
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,8 @@
+critterding for Debian
+----------------------
+
+The following prebuilt Windows binaries have been removed from tarball:
+
+ - dependencies/bullet/GLUT32.DLL
+ - dependencies/bullet/glut64.dll
+
diff --git a/debian/changelog b/debian/changelog
index 02daa60..3b7e94f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ critterding (1.0-beta14-1) UNRELEASED; urgency=low
* Bump debhelper compatibility to 9.
* Fix d/watch, remove +dfsg leftovers.
* Switch source and binaries compression to xz.
+ * Remove prebuilt Windows binaries from tarball.
-- Gabriele Giacone <1o5g4r8o at gmail.com> Sat, 02 Aug 2014 11:41:51 +0200
diff --git a/debian/rules b/debian/rules
index 10668c3..bf8e375 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,7 +24,16 @@ override_dh_auto_clean:
rm -rf m4 src/utils/ftgl/.deps src/utils/ftgl/Makefile
rm -rf $(CURDIR)/debian/icons
+TMPDIR=get-orig-source-tmp
+EXCLUDES=*.dll
get-orig-source:
- uscan --verbose --download-version $(VERSION) \
- --force-download --repack --no-symlink --compression xz --rename
-
+ mkdir -p $(TMPDIR)
+ uscan --verbose --download-version $(VERSION) --force-download \
+ --destdir $(TMPDIR)
+ tar jxf $(TMPDIR)/*.bz2 -C $(TMPDIR); rm -f $(TMPDIR)/*.bz2
+ @echo "\nThe following files will be removed from tarball:"
+ @cd $(TMPDIR)/*/ && find $(foreach pattern,$(EXCLUDES), -iname \
+ $(pattern)) -print -delete
+ @echo Generating tarball...
+ cd $(TMPDIR) && tar -Jcf ../../critterding_$(VERSION).orig.tar.xz *
+ rm -rf $(TMPDIR)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/critterding.git
More information about the debian-science-commits
mailing list