diff --git a/svnrev/svnrev.c b/svnrev/svnrev.c index 94815bf..ced07f5 100644 --- a/svnrev/svnrev.c +++ b/svnrev/svnrev.c @@ -1,4 +1,4 @@ -#define SVN_REV 36 +#define SVN_REV int SvnRev() { diff --git a/svnrev/svnrev.sh b/svnrev/svnrev.sh old mode 100644 new mode 100755 index 09c07b6..c831bd6 --- a/svnrev/svnrev.sh +++ b/svnrev/svnrev.sh @@ -1,32 +1,15 @@ #! /bin/bash # -#alte rev auslesen -rev_old=$(awk -FSVN_REV ' $1 ~ /define/ {gsub(" ","",$2); print $2}' svnrev/svnrev.c) +# XXX move into mkrelease rule -#rev auslesen, die kompiliert wird -rev_new=$(awk -F= '$1 ~ /rev/ {gsub(" ","",$2); print $2}' Makefile) - -if [ "$rev_new" != "$rev_old" ]; then -#rev nummer speichern -cat < svnrev/svnrev.c -#define SVN_REV $rev_new - -int SvnRev() -{ - return SVN_REV; -} -EOF - -fi -{ #erstelle meta.xml hbf -hbc_boot=$(awk '-F"' '$1 ~ /hbc_boot/ {print $2}' Makefile) -cat < "$hbc_boot"/meta.xml +cat < "$PWD"/meta.xml.boot - Homebrew Filter - hamachi-mp + Homebrew Filter + Christopher Roy Bratusek
+ hamachi-mp
r$rev_new Homebrew Filter / Sorter @@ -35,16 +18,15 @@ cat < "$hbc_boot"/meta.xml EOF #erstelle meta.xml hbf installer -hbc_install=$(awk '-F"' '$1 ~ /hbc_install/ {print $2}' Makefile) -cat < "$hbc_install"/meta.xml +cat < "$PWD"/meta.xml.installer - Homebrew Filter Installer - hamachi-mp + Homebrew Filter Installer + Christopher Roy Bratusek
+ hamachi-mp
r$rev_new Installer Installiert den Hombrew Filter
EOF -} \ No newline at end of file