ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/php/build/Makefile
Revision: 1.2
Committed: Sun Feb 16 23:03:16 2003 UTC (21 years, 9 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Error occurred while calculating annotation data.
Log Message:
Last fixup for the day I hope. Still getting some CVS directories
creeping in, but now should be dealt with.

File Contents

# Content
1 # Makefile for build
2 # $Id: Makefile,v 1.1 2003/02/16 14:52:44 tdb Exp $
3
4 include ../Config.inc
5
6 .PHONY : all
7 all : dist
8
9 .PHONY : clean
10 clean :
11 rm -Rf $(FILES)
12 rm -f $(CHANGELOG)
13 rm -Rf $(DISTDIR)
14 rm -f $(TARFILE) $(TARGZFILE) $(ZIPFILE)
15 rm -f $(TARGZFILESIG) $(ZIPFILESIG)
16 rm -f $(MKDISTCHECK) $(MKDISTFILESCHECK)
17 rm -Rf $(TMPDIR)
18
19 .PHONY : dist
20 dist : $(MKDISTCHECK) $(MKDISTFILESCHECK)
21
22 .PHONY : mk-dist
23 mk-dist : $(MKDISTCHECK)
24 $(MKDISTCHECK) : $(MCOMPILECHECK) $(CHANGELOG)
25 if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi
26 echo "CVS" > TAR_EXCLUDE_TMP
27 echo ".#*" >> TAR_EXCLUDE_TMP
28 tar -cf - -X TAR_EXCLUDE_TMP ChangeLog -C $(TMPDIR) `cd $(TMPDIR) && ls -d | grep -v CVS` | ( cd $(DISTDIR) && tar -xf - )
29 rm -f TAR_EXCLUDE_TMP
30 @touch $(MKDISTCHECK)
31 @rm -f $(MKDISTFILESCHECK)
32
33 .PHONY : mk-distfiles
34 mk-distfiles : $(MKDISTFILESCHECK)
35 $(MKDISTFILESCHECK) :
36 if test ! -d "$(DISTDEST)"; then mkdir -p $(DISTDEST); fi
37 tar -cvf $(DISTDEST)/$(TARFILE) $(DISTDIR)
38 gzip -fv9 $(DISTDEST)/$(TARFILE)
39 -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(TARGZFILE)
40 zip -r -9 $(DISTDEST)/$(ZIPFILE) $(DISTDIR)/*
41 -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(ZIPFILE)
42 @touch $(MKDISTFILESCHECK)
43
44 include $(MKINC)