ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/ihost-perl/Makefile
Revision: 1.3
Committed: Tue Mar 13 14:05:34 2001 UTC (23 years, 8 months ago) by tdb
Branch: MAIN
Changes since 1.2: +3 -3 lines
Log Message:
Added the ihostchk.sh script to the Makefile.

File Contents

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