- 184 名前:login:Penguin mailto:sage [2012/07/30(月) 23:19:18.27 ID:37AeCwYa]
- あれ?
うちの環境ではコンパイル通らなくなってた バージョンをgitから取るのはナイスだと思います diff --git a/Makefile b/Makefile index 89ebc92..01a636c 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ clean-files := *.o *.ko *.mod.[co] *~ version.h version.h: revh="#define DRV_VERSION \"rev.`git rev-list HEAD | wc -l 2> /dev/null`\"\n#define DRV_RELDATE \"`git s if [ -n "$$revh" ] ; then \ - echo "$$revh" > $@; \ + echo -e "$$revh" > $@; \ else \ printf "#define DRV_VERSION \"$(REL_VERSION)\"\n#define DRV_RELDATE \"$(REL_DATE)\"\n" > $@; \ fi
|

|