ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/Makefile
(Generate patch)

Comparing BasiliskII/Makefile (file contents):
Revision 1.3 by cebix, 1999-10-03T17:11:52Z vs.
Revision 1.4 by cebix, 1999-10-03T17:21:45Z

# Line 1 | Line 1
1   # Makefile for creating Basilisk II distributions
2   # Written in 1999 by Christian Bauer <Christian.Bauer@uni-mainz.de>
3  
4 + VERSION = $(shell grep '^Version' <BasiliskII.spec | sed 's/Version: *//')
5 +
6   SRCARCHIVE = $(shell date +BasiliskII_src_%d%m%Y.tar.gz)
7   AMIGAARCHIVE = $(shell date +BasiliskII_amiga_%d%m%Y.lha)
8   BEOSPPCARCHIVE = $(shell date +BasiliskII_beos_ppc_%d%m%Y.zip)
# Line 12 | Line 14 | SRCS = src
14  
15   default:
16          @echo "This top-level Makefile is for creating Basilisk II distributions."
17 <        @echo "If you want to install Basilisk II on your system, please follow"
17 >        @echo "If you want to install Basilisk II V$(VERSION) on your system, please follow"
18          @echo "the instructions in the file INSTALL."
19 <        @echo "If you want to create a Basilisk II distribution, type \"make help\""
19 >        @echo "If you want to create a Basilisk II V$(VERSION) distribution, type \"make help\""
20          @echo "to get a list of possible targets."
21  
22   help:
# Line 35 | Line 37 | $(SRCARCHIVE): $(SRCS) $(DOCS)
37          mkdir $(BUILDDIR)
38          cd $(BUILDDIR); cvs checkout BasiliskII
39          rm -rf $(BUILDDIR)/BasiliskII/src/powerrom_cpu  #not yet ready for distribution
40 <        cd $(BUILDDIR); tar cfz $@ BasiliskII
40 >        mv $(BUILDDIR)/BasiliskII $(BUILDDIR)/BasiliskII-$(VERSION)
41 >        cd $(BUILDDIR); tar cfz $@ BasiliskII-$(VERSION)
42          mv $(BUILDDIR)/$@ .
43          rm -rf $(BUILDDIR)
44  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines