[spring] 15/29: Build-depend on libgflags-dev, prune the embedded lib in dh_clean override.

Markus Koschany apo at moszumanska.debian.org
Sat Oct 14 14:54:30 UTC 2017


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

apo pushed a commit to branch master
in repository spring.

commit 46cea53151b857b8a550227600040dcbc026faaf
Author: Markus Koschany <apo at debian.org>
Date:   Wed Oct 4 00:26:33 2017 +0200

    Build-depend on libgflags-dev, prune the embedded lib in dh_clean override.
---
 debian/control | 1 +
 debian/rules   | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/debian/control b/debian/control
index 0a0e7af..c5ddce5 100644
--- a/debian/control
+++ b/debian/control
@@ -16,6 +16,7 @@ Build-Depends:
  libcurl4-gnutls-dev,
  libdevil-dev,
  libfreetype6-dev,
+ libgflags-dev,
  libglew-dev,
  libjna-java,
  libjsoncpp-dev,
diff --git a/debian/rules b/debian/rules
index 62e31fb..bdc2d06 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,6 +19,10 @@ endif
 %:
 	dh $@
 
+override_dh_clean:
+	dh_clean
+	$(RM) -r $(CURDIR)/rts/lib/gflags
+
 override_dh_auto_configure:
 	dh_auto_configure -- \
 		-DBINDIR=games \

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



More information about the Pkg-games-commits mailing list