mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-02 06:05:49 +00:00
- name of temporary directory for build now depends on time
This commit is contained in:
parent
088b13f42d
commit
8886ff6a85
@ -7,12 +7,12 @@ VERNAME = BasiliskII-$(VERSION)
|
|||||||
|
|
||||||
SRCARCHIVE = $(shell date +BasiliskII_src_%d%m%Y.tar.gz)
|
SRCARCHIVE = $(shell date +BasiliskII_src_%d%m%Y.tar.gz)
|
||||||
SRCRPM = $(VERNAME)-$(RELEASE).src.rpm
|
SRCRPM = $(VERNAME)-$(RELEASE).src.rpm
|
||||||
I386RPM = $(VERNAME)-$(RELEASE).i386.rpm
|
BINRPM = $(VERNAME)-$(RELEASE).i386.rpm
|
||||||
AMIGAARCHIVE = $(VERNAME)-$(RELEASE).amiga.lha
|
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 = /tmp/build
|
TMPDIR = $(shell date +/tmp/build%m%s)
|
||||||
RPMDIR = /usr/src/redhat
|
RPMDIR = /usr/src/redhat
|
||||||
DOCS = $(shell sed <BasiliskII.spec -n '/^\%doc */s///p')
|
DOCS = $(shell sed <BasiliskII.spec -n '/^\%doc */s///p')
|
||||||
SRCS = src
|
SRCS = src
|
||||||
@ -27,14 +27,14 @@ default:
|
|||||||
help:
|
help:
|
||||||
@echo "The following targets are available:"
|
@echo "The following targets are available:"
|
||||||
@echo " tarball source tarball ($(SRCARCHIVE))"
|
@echo " tarball source tarball ($(SRCARCHIVE))"
|
||||||
@echo " rpm source and binary RPMs ($(SRCRPM) and $(I386RPM))"
|
@echo " rpm source and binary RPMs ($(SRCRPM) and $(BINRPM))"
|
||||||
@echo " amiga AmigaOS binary archive ($(AMIGAARCHIVE))"
|
@echo " amiga AmigaOS binary archive ($(AMIGAARCHIVE))"
|
||||||
@echo " beosppc BeOS/ppc binary archive ($(BEOSPPCARCHIVE))"
|
@echo " beosppc BeOS/ppc binary archive ($(BEOSPPCARCHIVE))"
|
||||||
@echo " beosx86 BeOS/x86 binary archive ($(BEOSX86ARCHIVE))"
|
@echo " beosx86 BeOS/x86 binary archive ($(BEOSX86ARCHIVE))"
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -f $(SRCARCHIVE)
|
-rm -f $(SRCARCHIVE)
|
||||||
-rm -f $(SRCRPM) $(I386RPM)
|
-rm -f $(SRCRPM) $(BINRPM)
|
||||||
-rm -f $(AMIGAARCHIVE) $(BEOSPPCARCHIVE) $(BEOSX86ARCHIVE)
|
-rm -f $(AMIGAARCHIVE) $(BEOSPPCARCHIVE) $(BEOSX86ARCHIVE)
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -55,19 +55,19 @@ $(SRCARCHIVE): $(SRCS) $(DOCS)
|
|||||||
#
|
#
|
||||||
# RPMs (source and i386 binary)
|
# RPMs (source and i386 binary)
|
||||||
#
|
#
|
||||||
rpm: $(SRCRPM) $(I386RPM)
|
rpm: $(SRCRPM) $(BINRPM)
|
||||||
|
|
||||||
$(RPMDIR)/SOURCES/$(SRCARCHIVE): $(SRCARCHIVE)
|
$(RPMDIR)/SOURCES/$(SRCARCHIVE): $(SRCARCHIVE)
|
||||||
cp $(SRCARCHIVE) $(RPMDIR)/SOURCES
|
cp $(SRCARCHIVE) $(RPMDIR)/SOURCES
|
||||||
|
|
||||||
$(RPMDIR)/SRPMS/$(SRCRPM) $(RPMDIR)/RPMS/i386/$(I386RPM): $(RPMDIR)/SOURCES/$(SRCARCHIVE) BasiliskII.spec
|
$(RPMDIR)/SRPMS/$(SRCRPM) $(RPMDIR)/RPMS/i386/$(BINRPM): $(RPMDIR)/SOURCES/$(SRCARCHIVE) BasiliskII.spec
|
||||||
rpm -ba BasiliskII.spec
|
rpm -ba BasiliskII.spec
|
||||||
|
|
||||||
$(SRCRPM): $(RPMDIR)/SRPMS/$(SRCRPM)
|
$(SRCRPM): $(RPMDIR)/SRPMS/$(SRCRPM)
|
||||||
cp $(RPMDIR)/SRPMS/$(SRCRPM) .
|
cp $(RPMDIR)/SRPMS/$(SRCRPM) .
|
||||||
|
|
||||||
$(I386RPM): $(RPMDIR)/RPMS/i386/$(I386RPM)
|
$(BINRPM): $(RPMDIR)/RPMS/i386/$(BINRPM)
|
||||||
cp $(RPMDIR)/RPMS/i386/$(I386RPM) .
|
cp $(RPMDIR)/RPMS/i386/$(BINRPM) .
|
||||||
|
|
||||||
#
|
#
|
||||||
# Binary archive for AmigaOS
|
# Binary archive for AmigaOS
|
||||||
|
Loading…
Reference in New Issue
Block a user