]> oss.titaniummirror.com Git - cp210x.git/blobdiff - Makefile
Fix linux-header dependencies
[cp210x.git] / Makefile
index acaa73809db7abd5f1a46232107af00cea78594d..cb03d6b3702c45f5fb83850c6da45e8bbe1d4a79 100644 (file)
--- 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