- added top-level Makefile to create distributions

This commit is contained in:
cebix 1999-10-03 15:10:50 +00:00
parent 8e491572ca
commit 89e4a6a494

31
BasiliskII/Makefile Normal file
View File

@ -0,0 +1,31 @@
# Makefile for creating Basilisk II distributions
# Written in 1999 by Christian Bauer <Christian.Bauer@uni-mainz.de>
SRCARCHIVE = $(shell date +BasiliskII_src_%d%m%Y.tar.gz)
BUILDDIR = $(shell echo /tmp/build$$)
#
# Source tarball
#
srcdist: $(SRCARCHIVE)
$(SRCARCHIVE): src CHANGES COPYING README TECH TODO
-rm -rf $(BUILDDIR)
mkdir $(BUILDDIR)
cd $(BUILDDIR); cvs checkout BasiliskII
rm $(BUILDDIR)/BasiliskII/BasiliskII.spec
rm $(BUILDDIR)/BasiliskII/Makefile
rm -rf $(BUILDDIR)/BasiliskII/src/powerrom_cpu
cd $(BUILDDIR); tar cfz $@ BasiliskII
mv $(BUILDDIR)/$@ .
rm -rf $(BUILDDIR)
#
# RPM source archive
#
srcrpm: $(SRCARCHIVE)
#
# RPM binary archive (Unix/i386)
#
i386rpm: