ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/ihost-perl/Makefile
(Generate patch)

Comparing projects/cms/source/host/ihost-perl/Makefile (file contents):
Revision 1.3 by tdb, Tue Mar 13 14:05:34 2001 UTC vs.
Revision 1.5 by tdb, Mon Nov 19 21:53:14 2001 UTC

# Line 3 | Line 3
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
6 > # these files and directories will be included in the distribution
7 > FILES = README ihost.pl ihostchk.sh plugins
8  
9   all: dist
10  
11   dist:
12 <        cp $(FILESRC) $(BUILDDIR)
12 >        cp -R $(FILES) $(BUILDDIR)
13 > #       # messy :(
14 >        rm -Rf $(BUILDDIR)/plugins/CVS
15          cd $(BUILDDIR) && tar -cvf $(TARFILE) $(FILES)
16          cd $(BUILDDIR) && gzip -fv9 $(TARFILE)
17 <        cd $(BUILDDIR) && rm $(FILES)
17 >        cd $(BUILDDIR) && rm -Rf $(FILES)
18  
19   cvsbuild:
20 <        mkdir -p $(CVSBUILDTEMP)/$(IHOST)
21 <        mkdir -p $(CVSBUILDTEMP)/$(STATGRAB)
22 <        $(CVS) -d $(CVSROOT) export -r $(REVISION) -d $(CVSBUILDTEMP)/$(IHOST) $(IHOSTMODULE)
23 <        $(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)
20 >        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  
25   clean:
26 +        rm -Rf $(BUILDDIR)/$(TARFILE)
27          rm -Rf $(BUILDDIR)/$(TARGZFILE)
28 +        rm -Rf $(BUILDDIR)/$(ARCNAME)-*$(TAREXT)
29          rm -Rf $(BUILDDIR)/$(ARCNAME)-*$(TARGZEXT)
30          cd $(BUILDDIR) && rm -Rf $(FILES)
31          rm -Rf $(CVSBUILDTEMP)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines