11 |
|
BEOSPPCARCHIVE := $(VERNAME)-$(RELEASE).beosppc.zip |
12 |
|
BEOSX86ARCHIVE := $(VERNAME)-$(RELEASE).beosx86.zip |
13 |
|
|
14 |
< |
TMPDIR := $(shell date +/tmp/build%m%s) |
14 |
> |
TMPDIR := $(shell date +/tmp/build%M%S) |
15 |
|
RPMDIR := /usr/src/redhat |
16 |
+ |
ISODATE := $(shell date "+%Y-%m-%d %H:%M") |
17 |
|
DOCS := $(shell sed <mon.spec -n '/^\%doc */s///p') |
18 |
|
SRCS := src |
19 |
|
|
44 |
|
$(SRCARCHIVE): $(SRCS) $(DOCS) |
45 |
|
-rm -rf $(TMPDIR) |
46 |
|
mkdir $(TMPDIR) |
47 |
< |
cd $(TMPDIR); cvs checkout mon |
47 |
> |
cd $(TMPDIR); cvs export -D "$(ISODATE)" mon |
48 |
|
mv $(TMPDIR)/mon $(TMPDIR)/$(VERNAME) |
49 |
|
cd $(TMPDIR); tar cfz $@ $(VERNAME) |
50 |
|
mv $(TMPDIR)/$@ . |