summaryrefslogtreecommitdiffstats
path: root/perl-install/c/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-11-18 19:07:47 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-11-18 19:07:47 +0000
commitc98ddd12f5d5f777099376ce9718c01acf55566b (patch)
tree283b87c6f5a2fb1420ae70b86746fc568d928870 /perl-install/c/Makefile
parent7c32cf9c3f2c6ad9884716f67aee1a2979812de9 (diff)
downloaddrakx-backup-do-not-use-c98ddd12f5d5f777099376ce9718c01acf55566b.tar
drakx-backup-do-not-use-c98ddd12f5d5f777099376ce9718c01acf55566b.tar.gz
drakx-backup-do-not-use-c98ddd12f5d5f777099376ce9718c01acf55566b.tar.bz2
drakx-backup-do-not-use-c98ddd12f5d5f777099376ce9718c01acf55566b.tar.xz
drakx-backup-do-not-use-c98ddd12f5d5f777099376ce9718c01acf55566b.zip
no_comment
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 $@