Minor changes for PlanetLab V3
[mom.git] / Makefile
1 # @COPYRIGHT@
2 #
3 # $Id: Makefile,v 1.1.1.1 2004/10/29 18:03:29 acb Exp $
4
5 BASE=pl_mom
6 VERSION=0.2
7 TARFILE=$(BASE)-$(VERSION).tgz
8
9 all: pl_mom.pl pl_mom
10
11 install:
12         install -D -m 755 pl_mom.pl     /usr/local/planetlab/bin/pl_mom.pl
13         install -D -m 755 pl_mom        /etc/init.d/pl_mom
14
15 tarball:
16         rm -f $(TARFILE)
17         tar cvfz $(TARFILE) -C .. --exclude=CVS $(BASE)-$(VERSION)
18
19 rpm::   tarball
20         sudo cp $(TARFILE) /usr/src/redhat/SOURCES
21         sudo rpmbuild -ba $(BASE).spec
22
23