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

# User Rev Content
1 tdb 1.1 # Makefile for ihost
2 tdb 1.5 # $Id: Makefile,v 1.4 2001/03/26 17:02:20 tdb1 Exp $
3 tdb 1.1
4     include Config.inc
5    
6 tdb 1.5 # these files and directories will be included in the distribution
7     FILES = README ihost.pl ihostchk.sh plugins
8 tdb 1.1
9     all: dist
10    
11     dist:
12 tdb 1.5 cp -R $(FILES) $(BUILDDIR)
13     # # messy :(
14     rm -Rf $(BUILDDIR)/plugins/CVS
15 tdb 1.1 cd $(BUILDDIR) && tar -cvf $(TARFILE) $(FILES)
16     cd $(BUILDDIR) && gzip -fv9 $(TARFILE)
17 tdb 1.5 cd $(BUILDDIR) && rm -Rf $(FILES)
18 tdb 1.1
19     cvsbuild:
20 tdb 1.5 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 tdb 1.1
25     clean:
26 tdb 1.4 rm -Rf $(BUILDDIR)/$(TARFILE)
27 tdb 1.1 rm -Rf $(BUILDDIR)/$(TARGZFILE)
28 tdb 1.4 rm -Rf $(BUILDDIR)/$(ARCNAME)-*$(TAREXT)
29 tdb 1.1 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