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) |
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: |
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 |
|
|