aboutsummaryrefslogtreecommitdiffstats
path: root/grpmi/rpm/Makefile
diff options
context:
space:
mode:
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