diff options
author | Yves Orton <demerphq@gmail.com> | 2009-01-04 16:48:27 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2009-01-04 23:32:40 +0100 |
commit | dcff826f70bf3f64ced085d87d733c26aacda219 (patch) | |
tree | 78b69c0e058cb0278870514d6e35a89a115bb76e /cflags.SH | |
parent | f22725be88de3e535d7cb5ec4c1b09c92c9a722e (diff) | |
download | perl-dcff826f70bf3f64ced085d87d733c26aacda219.tar.gz |
eliminate .patchnum and related infrastrcuture from *nix based build process
Rename the old "unpushed.h" to "git_version.h" and make it hold the defines that used to come from cflags magic
Diffstat (limited to 'cflags.SH')
-rwxr-xr-x | cflags.SH | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -213,6 +213,8 @@ warn="$warn" stdflags="$stdflags" # Extra extra. extra="$extra" +# what do executables look like? +_exe="$_exe" !GROK!THIS! @@ -296,14 +298,7 @@ for file do op) ;; opmini) ;; pad) ;; - perl) - if [ -f .patchnum -a -n "`awk 'BEGIN{ORS=""} /describe:/ {print $1}' .patchnum`" ] ; then - ccflags="-DPERL_PATCHNUM=`awk 'BEGIN{ORS=""} /describe:/ {print $2}' .patchnum` $ccflags" - fi - if [ -f .patchnum -a -n "`awk 'BEGIN{ORS=""} /status:/ {print $2}' .patchnum`" ] ; then - ccflags="-DPERL_GIT_UNCOMMITTED_CHANGES=`awk 'BEGIN{ORS=""} /status:/ {print $2}' .patchnum` $ccflags" - fi - ;; + perl) ;; perlapi) ;; perlmain) ;; perly) ;; |