[qmapshack] 10/11: Remove icons before regenerating in d/rules instead of d/clean.
Bas Couwenberg
sebastic at xs4all.nl
Sat Dec 13 14:11:35 UTC 2014
This is an automated email from the git hooks/post-receive script.
sebastic-guest pushed a commit to branch master
in repository qmapshack.
commit 86e3f2d4b27ed10b8289c4bca3d8d70edb323d3a
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sat Dec 13 01:18:49 2014 +0100
Remove icons before regenerating in d/rules instead of d/clean.
---
debian/changelog | 1 +
debian/clean | 6 ------
debian/rules | 8 ++++++++
3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2b4412b..a0adcc0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ qmapshack (0.8.2-1) UNRELEASED; urgency=medium
* Update copyright file, changes:
- Copyright years
- public-domain license specification
+ * Remove icons before regenerating in d/rules instead of d/clean.
-- Bas Couwenberg <sebastic at xs4all.nl> Sat, 13 Dec 2014 01:31:26 +0100
diff --git a/debian/clean b/debian/clean
deleted file mode 100644
index 8423d48..0000000
--- a/debian/clean
+++ /dev/null
@@ -1,6 +0,0 @@
-src/icons/16x16/*
-src/icons/32x32/*
-src/icons/48x48/*
-src/icons/cache/32x32/*
-src/icons/waypoints/32x32/*
-src/pics/compass.png
diff --git a/debian/rules b/debian/rules
index 7727624..0e77797 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,10 +15,18 @@ override_dh_installchangelogs:
dh_installchangelogs changelog.txt
override_dh_auto_build:
+ $(RM) $(CURDIR)/src/icons/16x16/*
+ $(RM) $(CURDIR)/src/icons/32x32/*
+ $(RM) $(CURDIR)/src/icons/48x48/*
+ $(RM) $(CURDIR)/src/icons/cache/32x32/*
+ $(RM) $(CURDIR)/src/icons/waypoints/32x32/*
+ $(RM) $(CURDIR)/src/pics/compass.png
+
cd $(CURDIR)/src/icons/ && bash makeicons
cd $(CURDIR)/src/icons/cache/ && bash makeicons
cd $(CURDIR)/src/icons/waypoints/ && bash makeicons
inkscape -D -w 180 -h 180 $(CURDIR)/src/pics/compass.svg --export-png=$(CURDIR)/src/pics/compass.png
+
dh_auto_build
override_dh_auto_install:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/qmapshack.git
More information about the Pkg-grass-devel
mailing list