]> oss.titaniummirror.com Git - cp210x.git/blobdiff - Makefile
This module for all arches. Also have build set version in cp210x.c.
[cp210x.git] / Makefile
index acaa73809db7abd5f1a46232107af00cea78594d..ead51e3dd9d7b43800763d684cd9539666e42eba 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
 
 PKGVER  = 0.11.1
 DEBDIST = hardy
-DEBRELEASE = 1tmi
+DEBRELEASE = 2tmi
 
 
 # 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