ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/php/Makefile
Revision: 1.5
Committed: Sat May 18 18:15:57 2002 UTC (22 years, 5 months ago) by tdb
Branch: MAIN
Changes since 1.4: +2 -2 lines
Log Message:
i-scream is now licensed under the GPL. I've added the GPL headers to every
source file, and put a full copy of the license in the appropriate places.
I think I've covered everything. This is going to be a mad commit ;)

File Contents

# User Rev Content
1 tdb 1.1 # Makefile for php webreports
2 tdb 1.5 # $Id: Makefile,v 1.4 2002/03/18 13:24:31 tdb Exp $
3 tdb 1.1
4     include Config.inc
5    
6     # these files will be included in the distribution
7     FILES = README `ls -d alerts/* | grep -v CVS` `ls -d allalerts/* | grep -v CVS`\
8     `ls -d historical/* | grep -v CVS` `ls -d index/* | grep -v CVS`\
9     `ls -d latest/* | grep -v CVS` `ls -d public/* | grep -v CVS`\
10 tdb 1.4 `ls -d shared/* | grep -v CVS` `ls -d logins/* | grep -v CVS`\
11 tdb 1.5 `ls -d graphs/* | grep -v CVS` COPYING
12 tdb 1.1
13     all: dist
14    
15     dist:
16 tdb 1.3 mkdir -p $(BUILDDIR)/temp
17     cp -Rp $(FILES) $(BUILDDIR)/temp
18     cd $(BUILDDIR)/temp && tar -cvf ../$(TARFILE) *
19 tdb 1.1 gzip -fv9 $(BUILDDIR)/$(TARFILE)
20 tdb 1.3 cd $(BUILDDIR)/temp && zip -9 ../$(ZIPFILE) *
21 tdb 1.1
22     cvsbuild:
23     $(CVS) -d $(CVSROOT) export -r $(REVISION) -d $(CVSBUILDTEMP) $(CVSMODULE)
24     cd $(CVSBUILDTEMP) && $(MAKE) dist
25     cp $(CVSBUILDTEMP)/$(BUILDDIR)/$(TARGZFILE) $(BUILDDIR)/$(ARCNAME)-$(REVISION)$(TARGZEXT)
26     cp $(CVSBUILDTEMP)/$(BUILDDIR)/$(ZIPFILE) $(BUILDDIR)/$(ARCNAME)-$(REVISION)$(ZIPEXT)
27    
28     clean:
29 tdb 1.3 rm -Rf $(BUILDDIR)/temp
30 tdb 1.1 rm -Rf $(BUILDDIR)/$(ZIPFILE)
31     rm -Rf $(BUILDDIR)/$(TARFILE)
32     rm -Rf $(BUILDDIR)/$(TARGZFILE)
33     rm -Rf $(BUILDDIR)/$(ARCNAME)-*$(TAREXT)
34     rm -Rf $(BUILDDIR)/$(ARCNAME)-*$(TARGZEXT)
35     rm -Rf $(BUILDDIR)/$(ARCNAME)-*$(ZIPEXT)
36     rm -Rf $(CVSBUILDTEMP)
37    
38     update:
39     $(CVS) -q -d $(CVSROOT) update
40    
41     # for compatibility with other scripts
42     distclean: clean