summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/c')
-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 a553ca2f6..e67d02f80 100644
--- a/perl-install/c/Makefile
+++ b/perl-install/c/Makefile
@@ -2,10 +2,12 @@
C_RPM = 1
C_DRAKX = 1
+MYENV = C_RPM=$(C_RPM) C_DRAKX=$(C_DRAKX)
+MAKEIT = $(MYENV) $(MAKE) -f Makefile_c LD_RUN_PATH=
stuff: %: %.xs
- test -e Makefile_c || C_RPM=$(C_RPM) C_DRAKX=$(C_DRAKX) perl Makefile.PL
- $(MAKE) -f Makefile_c LD_RUN_PATH= || $(MAKE) -f Makefile_c LD_RUN_PATH=
+ test -e Makefile_c || $(MYENV) perl Makefile.PL
+ $(MAKEIT) || $(MAKEIT)
rm -f ../auto/c ; ln -s ../c/blib/arch/auto ../auto/c
clean: