summaryrefslogtreecommitdiffstats
path: root/perl-install/c/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-10-10 12:56:58 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-10-10 12:56:58 +0000
commit5e3f79e9a036b95eb9508746a5e47acda54586b0 (patch)
treefd6e9f7c056a6c2db37ef781643ebe3e7171456c /perl-install/c/Makefile
parentfc5950e2eb1f9c0b7a1553f5717940d880e4853c (diff)
downloaddrakx-5e3f79e9a036b95eb9508746a5e47acda54586b0.tar
drakx-5e3f79e9a036b95eb9508746a5e47acda54586b0.tar.gz
drakx-5e3f79e9a036b95eb9508746a5e47acda54586b0.tar.bz2
drakx-5e3f79e9a036b95eb9508746a5e47acda54586b0.tar.xz
drakx-5e3f79e9a036b95eb9508746a5e47acda54586b0.zip
no_comment
Diffstat (limited to 'perl-install/c/Makefile')
-rw-r--r--perl-install/c/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/perl-install/c/Makefile b/perl-install/c/Makefile
new file mode 100644
index 000000000..dcd777bb7
--- /dev/null
+++ b/perl-install/c/Makefile
@@ -0,0 +1,15 @@
+.PHONY: clean
+
+stuff: %: %.xs
+ test -e Makefile_c || C_RPM=1 perl Makefile.PL
+ $(MAKE) -f Makefile_c
+ ln -sf ../c/blib/arch/auto ../auto/c
+
+clean:
+ test ! -e Makefile_c || $(MAKE) -f Makefile_c clean
+ rm -f *~ stuff.xs
+
+stuff.xs: %: %.pm
+ rm -f $@
+ export C_RPM=1 ; perl $< > $@
+ chmod a-w $@