1 |
cebix |
1.1 |
# Makefile for creating Basilisk II distributions |
2 |
|
|
# Written in 1999 by Christian Bauer <Christian.Bauer@uni-mainz.de> |
3 |
|
|
|
4 |
|
|
SRCARCHIVE = $(shell date +BasiliskII_src_%d%m%Y.tar.gz) |
5 |
|
|
BUILDDIR = $(shell echo /tmp/build$$) |
6 |
|
|
|
7 |
|
|
# |
8 |
|
|
# Source tarball |
9 |
|
|
# |
10 |
|
|
srcdist: $(SRCARCHIVE) |
11 |
|
|
|
12 |
|
|
$(SRCARCHIVE): src CHANGES COPYING README TECH TODO |
13 |
|
|
-rm -rf $(BUILDDIR) |
14 |
|
|
mkdir $(BUILDDIR) |
15 |
|
|
cd $(BUILDDIR); cvs checkout BasiliskII |
16 |
|
|
rm $(BUILDDIR)/BasiliskII/BasiliskII.spec |
17 |
|
|
rm $(BUILDDIR)/BasiliskII/Makefile |
18 |
|
|
rm -rf $(BUILDDIR)/BasiliskII/src/powerrom_cpu |
19 |
|
|
cd $(BUILDDIR); tar cfz $@ BasiliskII |
20 |
|
|
mv $(BUILDDIR)/$@ . |
21 |
|
|
rm -rf $(BUILDDIR) |
22 |
|
|
|
23 |
|
|
# |
24 |
|
|
# RPM source archive |
25 |
|
|
# |
26 |
|
|
srcrpm: $(SRCARCHIVE) |
27 |
|
|
|
28 |
|
|
# |
29 |
|
|
# RPM binary archive (Unix/i386) |
30 |
|
|
# |
31 |
|
|
i386rpm: |