summaryrefslogtreecommitdiffstats
path: root/perl-install/c/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/c/Makefile')
-rw-r--r--perl-install/c/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/c/Makefile b/perl-install/c/Makefile
index cd8256d97..14308d97c 100644
--- a/perl-install/c/Makefile
+++ b/perl-install/c/Makefile
@@ -1,7 +1,9 @@
.PHONY: clean
+C_RPM = 1
+
stuff: %: %.xs
- test -e Makefile_c || C_RPM=1 perl Makefile.PL
+ test -e Makefile_c || C_RPM=$(C_RPM) perl Makefile.PL
$(MAKE) -f Makefile_c
rm -f ../auto/c ; ln -s ../c/blib/arch/auto ../auto/c
@@ -11,5 +13,5 @@ clean:
stuff.xs: %: %.pm
rm -f $@
- export C_RPM=1 ; perl $< > $@
+ export C_RPM=$(C_RPM) ; perl $< > $@
chmod a-w $@