X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=newVersion;fp=gpio%2FnewVersion;h=bab6dc581bf96b322adbad8290fa065040399034;hb=170dce5f1939a3629bbc2329c5557cbaa0bc278f;hp=b9197434c3c357dc36193cf09c97e9ebee0975a8;hpb=a776e6b0e834189b69bd5d33a9bcc5e07ad6cc03;p=wiringPi.git
diff --git a/gpio/newVersion b/newVersion
similarity index 64%
rename from gpio/newVersion
rename to newVersion
index b919743..bab6dc5 100755
--- a/gpio/newVersion
+++ b/newVersion
@@ -2,6 +2,7 @@
#
# newVersion:
# Utility to create the version.h include file for the gpio command.
+# and the Debian package
#
# Copyright (c) 2012-2015 Gordon Henderson
#################################################################################
@@ -22,5 +23,21 @@
# along with wiringPi. If not, see .
#################################################################################
-rm -f version.h
-echo "#define VERSION \"`cat ../VERSION`\"" > version.h
+echo Updating to version: `cat VERSION`
+
+rm -f gpio/version.h
+echo "#define VERSION \"`cat VERSION`\"" > gpio/version.h
+
+rm -f debian-template/wiringPi/DEBIAN/control
+cat > debian-template/wiringPi/DEBIAN/control <
+Description: The wiringPi libraries, headers and gpio command
+ Libraries to allow GPIO access on a Raspberry Pi from C and C++
+ programs as well as from the command-line
+EOF