This commit was generated by cvs2svn to compensate for changes in r359,
[mom.git] / Makefile
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..bd39bb3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,23 @@
+# @COPYRIGHT@
+#
+# $Id: Makefile,v $
+
+BASE=pl_dod
+VERSION=0.2
+TARFILE=$(BASE)-$(VERSION).tgz
+
+all: pl_mom.pl pl_mom
+
+install:
+       install -D -m 755 pl_mom.pl     /usr/local/planetlab/bin/pl_mom.pl
+       install -D -m 755 pl_mom        /etc/init.d/pl_mom
+
+tarball:
+       rm -f $(TARFILE)
+       tar cvfz $(TARFILE) -C .. --exclude=CVS $(BASE)-$(VERSION)
+
+rpm::  tarball
+       sudo cp $(TARFILE) /usr/src/redhat/SOURCES
+       sudo rpmbuild -ba $(BASE).spec
+
+