This commit was generated by cvs2svn to compensate for changes in r359,
[mom.git] / Makefile
1 # @COPYRIGHT@
2 #
3 # $Id: Makefile,v $
4
5 BASE=pl_dod
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