[mpi-defaults] 01/06: add a "don't touch this" message in the generated control file
Mattia Rizzolo
mattia at debian.org
Sat Feb 27 12:11:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository mpi-defaults.
commit aa7b202eae83488a649658469d66d71f4e6908fc
Author: Mattia Rizzolo <mattia at debian.org>
Date: Wed Feb 17 14:25:05 2016 +0000
add a "don't touch this" message in the generated control file
Gbp-Dch: Ignore
---
debian/control | 3 +++
debian/rules | 5 ++++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index b0d8f4d..725a455 100644
--- a/debian/control
+++ b/debian/control
@@ -1,3 +1,6 @@
+# DON'T MANUALLY MODIFY!
+# EDIT debian/control.in INSTEAD!
+#
Source: mpi-defaults
Section: devel
Priority: extra
diff --git a/debian/rules b/debian/rules
index ce839c6..b7d0d37 100755
--- a/debian/rules
+++ b/debian/rules
@@ -61,8 +61,11 @@ override_dh_install:
override_dh_clean:
dh_clean
- cp debian/control.in debian/control.tmp
@echo "Generating the control file..."
+ echo "# DON'T MANUALLY MODIFY!" > debian/control.tmp
+ echo "# EDIT debian/control.in INSTEAD!" >> debian/control.tmp
+ echo "#" >> debian/control.tmp
+ cat debian/control.in >> debian/control.tmp
sed -i "s,%OPENMPI_ARCHITECTURES%,$(OPENMPI_ARCHITECTURES),g" debian/control.tmp
sed -i "s,%MPICH_ARCHITECTURES%,$(MPICH_ARCHITECTURES),g" debian/control.tmp
set -e ; if ! diff -q debian/control debian/control.tmp > /dev/null; then \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mpi-defaults.git
More information about the debian-science-commits
mailing list