[pg_comparator] 08/12: Add patch to not remove pg_comparator script in clean target.

Bas Couwenberg sebastic at debian.org
Fri Jul 7 09:12:01 UTC 2017


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

sebastic pushed a commit to branch master
in repository pg_comparator.

commit 0207a253afcd10c4cc4ceef924a8208bd3dc6692
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Jul 7 10:04:22 2017 +0200

    Add patch to not remove pg_comparator script in clean target.
---
 debian/changelog                |  1 +
 debian/patches/make-clean.patch | 14 ++++++++++++++
 debian/patches/series           |  1 +
 3 files changed, 16 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7c09dc5..6672bfa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ pg-comparator (2.3.0-1) UNRELEASED; urgency=medium
   * Add autopkgtest to test installability.
   * Refresh patches.
   * Update copyright years for Fabien Coelho.
+  * Add patch to not remove pg_comparator script in clean target.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 07 Jul 2017 09:22:36 +0200
 
diff --git a/debian/patches/make-clean.patch b/debian/patches/make-clean.patch
new file mode 100644
index 0000000..c841b47
--- /dev/null
+++ b/debian/patches/make-clean.patch
@@ -0,0 +1,14 @@
+Description: Don't remove pg_comparator script in clean target.
+ It's a script, not data that needs to be built (and removed on clean).
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/Makefile
++++ b/Makefile
+@@ -9,7 +9,6 @@ name		= pg_comparator
+ EXTENSION	= pgcmp
+ SCRIPTS		= $(name)
+ MODULES		= $(EXTENSION)
+-DATA_built	= $(name)
+ DATA		= pgcmp--3.0.sql
+ DOCS		= README.$(name)
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 85e8d0d..79757f4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ allows-to-typo.patch
 against-typo.patch
 below-typo.patch
 minimum-typo.patch
+make-clean.patch

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



More information about the Pkg-grass-devel mailing list