[aseprite] 04/07: Include duktape in orig tarball.

Tobias Hansen thansen at moszumanska.debian.org
Thu Sep 3 23:15:22 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit da103bc5f7a7829bde062dbe6d2e802eafada210
Author: Tobias Hansen <tobias.han at gmx.de>
Date:   Fri Sep 4 00:52:49 2015 +0200

    Include duktape in orig tarball.
---
 debian/rules | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index a2b1686..6c3d94c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,7 +38,7 @@ override_dh_auto_clean:
 	rm -rf build
 
 override_dh_auto_configure:
-	cd third_party && find ! \( -name 'simpleini' -o -name '.' \) -type d -exec rm -rf {} +
+	cd third_party && find ! \( -name 'simpleini' -o -name 'duktape' -o -name '.' \) -type d -exec rm -rf {} +
 	rm -rf src/allegro
 	rm -rf data/www
 	mkdir build && cd build && cmake $(DEB_CMAKE_OPTIONS) $(DEB_ASE_CMAKE_OPTIONS) ..
@@ -62,10 +62,13 @@ override_dh_installchangelogs:
 	dh_installchangelogs -k debian/upstream-changelog
 
 get-orig-source:
-	git archive --prefix=aseprite_$(VERSION)/ --format=tar v$(VERSION) $(ORIG_CONTENT) > aseprite_$(VERSIONFULL).orig.tar
+	git archive --prefix=aseprite_$(VERSION)/ --format=tar v$(VERSION) $(ORIG_CONTENT) > aseprite.tar
 	git submodule update --init third_party/simpleini/
 	cd third_party/simpleini && git archive  --prefix="aseprite_$(VERSION)/third_party/simpleini/" --format=tar HEAD > ../../simpleini.tar
-	tar -Af ../aseprite_$(VERSIONFULL).orig.tar aseprite_$(VERSIONFULL).orig.tar
+	git submodule update --init third_party/duktape/
+	cd third_party/duktape && git archive  --prefix="aseprite_$(VERSION)/third_party/duktape/" --format=tar HEAD > ../../duktape.tar
+	tar -Af ../aseprite_$(VERSIONFULL).orig.tar aseprite.tar
 	tar -Af ../aseprite_$(VERSIONFULL).orig.tar simpleini.tar
+	tar -Af ../aseprite_$(VERSIONFULL).orig.tar duktape.tar
 	gzip ../aseprite_$(VERSIONFULL).orig.tar
-	rm aseprite_$(VERSIONFULL).orig.tar simpleini.tar
+	rm aseprite.tar simpleini.tar duktape.tar

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list