ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/ihost-perl/Makefile
Revision: 1.5
Committed: Mon Nov 19 21:53:14 2001 UTC (22 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.4: +11 -12 lines
Log Message:
A few tweaks to the config to reflect the changes with statgrab/plugins.

File Contents

# Content
1 # Makefile for ihost
2 # $Id: Makefile,v 1.4 2001/03/26 17:02:20 tdb1 Exp $
3
4 include Config.inc
5
6 # these files and directories will be included in the distribution
7 FILES = README ihost.pl ihostchk.sh plugins
8
9 all: dist
10
11 dist:
12 cp -R $(FILES) $(BUILDDIR)
13 # # messy :(
14 rm -Rf $(BUILDDIR)/plugins/CVS
15 cd $(BUILDDIR) && tar -cvf $(TARFILE) $(FILES)
16 cd $(BUILDDIR) && gzip -fv9 $(TARFILE)
17 cd $(BUILDDIR) && rm -Rf $(FILES)
18
19 cvsbuild:
20 mkdir -p $(CVSBUILDTEMP)
21 $(CVS) -d $(CVSROOT) export -r $(REVISION) -d $(CVSBUILDTEMP) $(CVSMODULE)
22 cd $(CVSBUILDTEMP) && $(MAKE) dist
23 cp $(CVSBUILDTEMP)/$(BUILDDIR)/$(TARGZFILE) $(BUILDDIR)/$(ARCNAME)-$(REVISION)$(TARGZEXT)
24
25 clean:
26 rm -Rf $(BUILDDIR)/$(TARFILE)
27 rm -Rf $(BUILDDIR)/$(TARGZFILE)
28 rm -Rf $(BUILDDIR)/$(ARCNAME)-*$(TAREXT)
29 rm -Rf $(BUILDDIR)/$(ARCNAME)-*$(TARGZEXT)
30 cd $(BUILDDIR) && rm -Rf $(FILES)
31 rm -Rf $(CVSBUILDTEMP)
32
33 update:
34 $(CVS) -q -d $(CVSROOT) update
35
36 # for compatibility with other scripts
37 distclean: clean