X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=Makefile;h=cb03d6b3702c45f5fb83850c6da45e8bbe1d4a79;hb=8e0c2c991777cee694d48e8aa979fe4b18e01b6c;hp=acaa73809db7abd5f1a46232107af00cea78594d;hpb=affe5c7c95eab8dd65c10631bb7435acbae8b1c4;p=cp210x.git diff --git a/Makefile b/Makefile index acaa738..cb03d6b 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ PKGVER = 0.11.1 DEBDIST = hardy -DEBRELEASE = 1tmi +DEBRELEASE = 3tmi # No need to change anything below this line @@ -49,6 +49,7 @@ $(BUILD)/src-stamp: Makefile.dkms dkms.conf $(wildcard src/*) mkdir -p $(BUILD) rm -rf $(BUILD)/$(DEBSRC) cp -a src $(BUILD)/$(DEBSRC) + perl -i -pe 's/xxPKGVERxx/$(PKGVER)/g' $(BUILD)/$(DEBSRC)/cp210x.c cp Makefile.dkms $(BUILD)/$(DEBSRC) cp dkms.conf $(BUILD)/$(DEBSRC) perl -i -pe 's/xxPKGVERxx/$(PKGVER)/g' $(BUILD)/$(DEBSRC)/dkms.conf