ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/ihost-perl/Makefile
Revision: 1.2
Committed: Wed Mar 7 02:20:45 2001 UTC (23 years, 8 months ago) by tdb
Branch: MAIN
Changes since 1.1: +3 -3 lines
Log Message:
Added the README file to the distribution archive.

File Contents

# User Rev Content
1 tdb 1.1 # Makefile for ihost
2 tdb 1.2 # $Id: Makefile,v 1.1 2001/02/28 16:41:04 tdb1 Exp $
3 tdb 1.1
4     include Config.inc
5    
6     # these files will be included in the distribution
7 tdb 1.2 FILESRC = README ihost.pl ../generic/statgrab.pl
8     FILES = README ihost.pl statgrab.pl
9 tdb 1.1
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