aboutsummaryrefslogtreecommitdiffstats
path: root/grpmi/rpm/Makefile
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-08-01 17:35:43 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-08-01 17:35:43 +0000
commit36c3056b46649d0f28dd3b49f61ad08e8049548a (patch)
tree5d5a8e8b6880e3acdbf7349ccf62c4860fc6332c /grpmi/rpm/Makefile
parent814cacf5edc5ad3642157a23d6d8cff249644d3a (diff)
downloadrpmdrake-36c3056b46649d0f28dd3b49f61ad08e8049548a.tar
rpmdrake-36c3056b46649d0f28dd3b49f61ad08e8049548a.tar.gz
rpmdrake-36c3056b46649d0f28dd3b49f61ad08e8049548a.tar.bz2
rpmdrake-36c3056b46649d0f28dd3b49f61ad08e8049548a.tar.xz
rpmdrake-36c3056b46649d0f28dd3b49f61ad08e8049548a.zip
Initial revisionV2_0topic/RPMDRAKE
Diffstat (limited to 'grpmi/rpm/Makefile')
-rw-r--r--grpmi/rpm/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/grpmi/rpm/Makefile b/grpmi/rpm/Makefile
new file mode 100644
index 00000000..3bf1b972
--- /dev/null
+++ b/grpmi/rpm/Makefile
@@ -0,0 +1,13 @@
+.PHONY: clean
+
+grpmi_rpm: %: %.xs
+ test -e Makefile_c || perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS)
+ $(MAKE) -f Makefile_c
+
+install:
+ test -e Makefile_c || perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS)
+ $(MAKE) -f Makefile_c install
+
+clean:
+ test ! -e Makefile_c || $(MAKE) -f Makefile_c clean
+ rm -f *~ *.o