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