Merge branch 'master' of git://git.drogon.net/wiringPi
This commit is contained in:
12
newVersion
12
newVersion
@@ -7,7 +7,7 @@
|
||||
# Copyright (c) 2012-2015 Gordon Henderson
|
||||
#################################################################################
|
||||
# This file is part of wiringPi:
|
||||
# Wiring Compatable library for the Raspberry Pi
|
||||
# A "wiring" library for the Raspberry Pi
|
||||
#
|
||||
# wiringPi is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License as published by
|
||||
@@ -25,8 +25,12 @@
|
||||
|
||||
echo Updating to version: `cat VERSION`
|
||||
|
||||
rm -f gpio/version.h
|
||||
echo "#define VERSION \"`cat VERSION`\"" > gpio/version.h
|
||||
rm -f version.h
|
||||
vMaj=`cut -d. -f1 VERSION`
|
||||
vMin=`cut -d. -f2 VERSION`
|
||||
echo "#define VERSION \"`cat VERSION`\"" > version.h
|
||||
echo "#define VERSION_MAJOR $vMaj" >> version.h
|
||||
echo "#define VERSION_MINOR $vMin" >> version.h
|
||||
|
||||
rm -f debian-template/wiringPi/DEBIAN/control
|
||||
cat > debian-template/wiringPi/DEBIAN/control <<EOF
|
||||
@@ -39,5 +43,5 @@ Depends: libc6
|
||||
Maintainer: Gordon Henderson <projects@drogon.net>
|
||||
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
|
||||
and BASIC programs as well as from the command-line
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user