summaryrefslogtreecommitdiff
path: root/Makefile.micro
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-03-22 15:55:47 +0000
committerNicholas Clark <nick@ccl4.org>2011-03-28 10:21:47 +0100
commita0eb549bd8b2a684971d342004fe02bde5c390a9 (patch)
tree6800fbf329edf6700711be908d3da1a9ad615101 /Makefile.micro
parentd0817dbe582693d4dbd2f1ae8097b9b0f5f8530e (diff)
downloadperl-a0eb549bd8b2a684971d342004fe02bde5c390a9.tar.gz
Don't automatically regenerate uconfig.h as part of the microperl build.
This avoids limiting microperl to platforms with a Bourne shell. It also avoids automated build tools modifying distribution files as part of the default build targets. Now that we have a regression test to ensure that uconfig.h is up to date, the version as shipped will be consistent with uconfig.sh. README.micro already instructs people to run `make -f Makefile.micro regen_uconfig` if they edit uconfig.sh, so no change needed there.
Diffstat (limited to 'Makefile.micro')
-rw-r--r--Makefile.micro2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.micro b/Makefile.micro
index ec47c9b914..4b738f5aa0 100644
--- a/Makefile.micro
+++ b/Makefile.micro
@@ -46,7 +46,7 @@ Config = '$$Config{$$1}'
patch_uconfig:
$(PERL) -MConfig -pi -e "s/^((?:short|int|long(?:dbl|long)?|ptr|double|[iun]v|u?quad|[iu]\d+|fpos|lseek)(?:size|type)|byteorder|d_quad|quadkind|use64.+)=.*/\\1='"$(Config)"'/g" uconfig.shx
-regen_uconfig uconfig.h: uconfig.sh
+regen_uconfig: uconfig.sh config_h.SH
$(ENV) CONFIG_SH=uconfig.sh CONFIG_H=uconfig.h sh ./config_h.SH
# Do not regenerate perly.c and perly.h.