mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-19 19:30:42 +00:00
- the directory name of the sources in the tarball now includes the
version number (taken from the spec file)
This commit is contained in:
parent
578a60be36
commit
ce22e321b2
@ -29,7 +29,7 @@ Some features of Basilisk II:
|
|||||||
- Uses UAE 68k emulation or (under AmigaOS) real 68k processor
|
- Uses UAE 68k emulation or (under AmigaOS) real 68k processor
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n BasiliskII
|
%setup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd src/Unix
|
cd src/Unix
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# Makefile for creating Basilisk II distributions
|
# Makefile for creating Basilisk II distributions
|
||||||
# Written in 1999 by Christian Bauer <Christian.Bauer@uni-mainz.de>
|
# Written in 1999 by Christian Bauer <Christian.Bauer@uni-mainz.de>
|
||||||
|
|
||||||
|
VERSION = $(shell grep '^Version' <BasiliskII.spec | sed 's/Version: *//')
|
||||||
|
|
||||||
SRCARCHIVE = $(shell date +BasiliskII_src_%d%m%Y.tar.gz)
|
SRCARCHIVE = $(shell date +BasiliskII_src_%d%m%Y.tar.gz)
|
||||||
AMIGAARCHIVE = $(shell date +BasiliskII_amiga_%d%m%Y.lha)
|
AMIGAARCHIVE = $(shell date +BasiliskII_amiga_%d%m%Y.lha)
|
||||||
BEOSPPCARCHIVE = $(shell date +BasiliskII_beos_ppc_%d%m%Y.zip)
|
BEOSPPCARCHIVE = $(shell date +BasiliskII_beos_ppc_%d%m%Y.zip)
|
||||||
@ -12,9 +14,9 @@ SRCS = src
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
@echo "This top-level Makefile is for creating Basilisk II distributions."
|
@echo "This top-level Makefile is for creating Basilisk II distributions."
|
||||||
@echo "If you want to install Basilisk II on your system, please follow"
|
@echo "If you want to install Basilisk II V$(VERSION) on your system, please follow"
|
||||||
@echo "the instructions in the file INSTALL."
|
@echo "the instructions in the file INSTALL."
|
||||||
@echo "If you want to create a Basilisk II distribution, type \"make help\""
|
@echo "If you want to create a Basilisk II V$(VERSION) distribution, type \"make help\""
|
||||||
@echo "to get a list of possible targets."
|
@echo "to get a list of possible targets."
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@ -35,7 +37,8 @@ $(SRCARCHIVE): $(SRCS) $(DOCS)
|
|||||||
mkdir $(BUILDDIR)
|
mkdir $(BUILDDIR)
|
||||||
cd $(BUILDDIR); cvs checkout BasiliskII
|
cd $(BUILDDIR); cvs checkout BasiliskII
|
||||||
rm -rf $(BUILDDIR)/BasiliskII/src/powerrom_cpu #not yet ready for distribution
|
rm -rf $(BUILDDIR)/BasiliskII/src/powerrom_cpu #not yet ready for distribution
|
||||||
cd $(BUILDDIR); tar cfz $@ BasiliskII
|
mv $(BUILDDIR)/BasiliskII $(BUILDDIR)/BasiliskII-$(VERSION)
|
||||||
|
cd $(BUILDDIR); tar cfz $@ BasiliskII-$(VERSION)
|
||||||
mv $(BUILDDIR)/$@ .
|
mv $(BUILDDIR)/$@ .
|
||||||
rm -rf $(BUILDDIR)
|
rm -rf $(BUILDDIR)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user