1 |
|
# Makefile for creating Basilisk II distributions |
2 |
|
# Written in 1999 by Christian Bauer <Christian.Bauer@uni-mainz.de> |
3 |
|
|
4 |
< |
VERSION = $(shell sed <BasiliskII.spec -n '/^Version: */s///p') |
5 |
< |
RELEASE = $(shell sed <BasiliskII.spec -n '/^Release: */s///p') |
6 |
< |
VERNAME = BasiliskII-$(VERSION) |
4 |
> |
VERSION := $(shell sed <BasiliskII.spec -n '/^Version: */s///p') |
5 |
> |
RELEASE := $(shell sed <BasiliskII.spec -n '/^Release: */s///p') |
6 |
> |
VERNAME := BasiliskII-$(VERSION) |
7 |
|
|
8 |
< |
SRCARCHIVE = $(shell date +BasiliskII_src_%d%m%Y.tar.gz) |
9 |
< |
SRCRPM = $(VERNAME)-$(RELEASE).src.rpm |
10 |
< |
BINRPM = $(VERNAME)-$(RELEASE).i386.rpm |
11 |
< |
AMIGAARCHIVE = $(VERNAME)-$(RELEASE).amiga.lha |
12 |
< |
BEOSPPCARCHIVE = $(VERNAME)-$(RELEASE).beosppc.zip |
13 |
< |
BEOSX86ARCHIVE = $(VERNAME)-$(RELEASE).beosx86.zip |
8 |
> |
SRCARCHIVE := $(shell date +BasiliskII_src_%d%m%Y.tar.gz) |
9 |
> |
SRCRPM := $(VERNAME)-$(RELEASE).src.rpm |
10 |
> |
BINRPM := $(VERNAME)-$(RELEASE).i386.rpm |
11 |
> |
AMIGAARCHIVE := $(VERNAME)-$(RELEASE).amiga.lha |
12 |
> |
BEOSPPCARCHIVE := $(VERNAME)-$(RELEASE).beosppc.zip |
13 |
> |
BEOSX86ARCHIVE := $(VERNAME)-$(RELEASE).beosx86.zip |
14 |
|
|
15 |
< |
TMPDIR = $(shell date +/tmp/build%m%s) |
16 |
< |
RPMDIR = /usr/src/redhat |
17 |
< |
DOCS = $(shell sed <BasiliskII.spec -n '/^\%doc */s///p') |
18 |
< |
SRCS = src |
15 |
> |
TMPDIR := $(shell date +/tmp/build%m%s) |
16 |
> |
RPMDIR := /usr/src/redhat |
17 |
> |
DOCS := $(shell sed <BasiliskII.spec -n '/^\%doc */s///p') |
18 |
> |
SRCS := src |
19 |
|
|
20 |
|
default: |
21 |
|
@echo "This top-level Makefile is for creating Basilisk II distributions." |