mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-22 13:31:08 +00:00
- making a tarball uses "cvs export" instead of "cvs checkout"
This commit is contained in:
parent
a118a700bd
commit
eaa14cdcb2
@ -12,8 +12,9 @@ AMIGAARCHIVE := $(VERNAME)-$(RELEASE).amiga.lha
|
|||||||
BEOSPPCARCHIVE := $(VERNAME)-$(RELEASE).beosppc.zip
|
BEOSPPCARCHIVE := $(VERNAME)-$(RELEASE).beosppc.zip
|
||||||
BEOSX86ARCHIVE := $(VERNAME)-$(RELEASE).beosx86.zip
|
BEOSX86ARCHIVE := $(VERNAME)-$(RELEASE).beosx86.zip
|
||||||
|
|
||||||
TMPDIR := $(shell date +/tmp/build%m%s)
|
TMPDIR := $(shell date +/tmp/build%M%S)
|
||||||
RPMDIR := /usr/src/redhat
|
RPMDIR := /usr/src/redhat
|
||||||
|
ISODATE := $(shell date "+%Y-%m-%d %H:%M")
|
||||||
DOCS := $(shell sed <BasiliskII.spec -n '/^\%doc */s///p')
|
DOCS := $(shell sed <BasiliskII.spec -n '/^\%doc */s///p')
|
||||||
SRCS := src
|
SRCS := src
|
||||||
|
|
||||||
@ -45,7 +46,7 @@ tarball: $(SRCARCHIVE)
|
|||||||
$(SRCARCHIVE): $(SRCS) $(DOCS)
|
$(SRCARCHIVE): $(SRCS) $(DOCS)
|
||||||
-rm -rf $(TMPDIR)
|
-rm -rf $(TMPDIR)
|
||||||
mkdir $(TMPDIR)
|
mkdir $(TMPDIR)
|
||||||
cd $(TMPDIR); cvs checkout BasiliskII
|
cd $(TMPDIR); cvs export -D "$(ISODATE)" BasiliskII
|
||||||
rm -rf $(TMPDIR)/BasiliskII/src/powerrom_cpu #not yet ready for distribution
|
rm -rf $(TMPDIR)/BasiliskII/src/powerrom_cpu #not yet ready for distribution
|
||||||
mv $(TMPDIR)/BasiliskII $(TMPDIR)/$(VERNAME)
|
mv $(TMPDIR)/BasiliskII $(TMPDIR)/$(VERNAME)
|
||||||
cd $(TMPDIR); tar cfz $@ $(VERNAME)
|
cd $(TMPDIR); tar cfz $@ $(VERNAME)
|
||||||
|
Loading…
Reference in New Issue
Block a user