1 |
|
# Makefile for creating Basilisk II distributions |
2 |
< |
# Written in 1999 by Christian Bauer <Christian.Bauer@uni-mainz.de> |
2 |
> |
# Written in 2002 by Christian Bauer <Christian.Bauer@uni-mainz.de> |
3 |
|
|
4 |
|
VERSION := $(shell sed <BasiliskII.spec -n '/^\%define version */s///p') |
5 |
|
RELEASE := $(shell sed <BasiliskII.spec -n '/^\%define release */s///p') |
43 |
|
-rm -rf $(TMPDIR) |
44 |
|
mkdir $(TMPDIR) |
45 |
|
cd $(TMPDIR); cvs export -D "$(ISODATE)" BasiliskII |
46 |
< |
cp src/Unix/config.h.in src/Unix/configure $(TMPDIR)/BasiliskII/src/Unix |
46 |
> |
cd $(TMPDIR)/BasiliskII/src/Unix; aclocal; autoheader; autoconf |
47 |
|
rm $(TMPDIR)/BasiliskII/Makefile |
48 |
– |
rm -rf $(TMPDIR)/BasiliskII/src/powerrom_cpu #not yet ready for distribution |
48 |
|
mv $(TMPDIR)/BasiliskII $(TMPDIR)/$(VERNAME) |
49 |
|
cd $(TMPDIR); tar cfz $@ $(VERNAME) |
50 |
|
mv $(TMPDIR)/$@ . |