forked from trlinux/trlinux
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
63 lines (54 loc) · 2.78 KB
/
Makefile
File metadata and controls
63 lines (54 loc) · 2.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#Copyright Larry Tyree, N6TR, 2011,2012,2013,2014,2015.
#This file is part of TR log for linux.
#TR log for linux is free software: you can redistribute it and/or
#modify it under the terms of the GNU General Public License as
#published by the Free Software Foundation, either version 2 of the
#License, or (at your option) any later version.
#TR log for linux is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#You should have received a copy of the GNU General
# Public License along with TR log for linux. If not, see
#<http://www.gnu.org/licenses/>.
RELEASE=0.56
all:
test 2 -eq `grep -c "Linux $(RELEASE)" src/versions.inc`
(cd doc; make clean; make; make clean)
(cd src; make clean; make; make install; make clean;\
make -f Makefile.post; make clean)
(cd log; strip trlog; strip post)
trlinux-r$(RELEASE).txz:
( cd .. ; \
mkdir trlinux-r$(RELEASE); \
cp -r trlinux/doc trlinux-r$(RELEASE)/doc ;\
cp -r trlinux/log trlinux-r$(RELEASE)/log ;\
cp -r trlinux/files trlinux-r$(RELEASE)/files; \
cp trlinux/RELEASE_NOTES trlinux-r$(RELEASE) ; \
tar --exclude CVS --exclude TRMASTER.DTA.save --exclude TRMASTER.DTA\
-cJf $@ trlinux-r$(RELEASE)/doc trlinux-r$(RELEASE)/log \
trlinux-r$(RELEASE)/files trlinux-r$(RELEASE)/RELEASE_NOTES )
trlinux-r$(RELEASE)_64bit.tgz:
( cd .. ; \
mkdir trlinux-r$(RELEASE); \
cp -r trlinux/doc trlinux-r$(RELEASE)/doc ;\
cp -r trlinux/log trlinux-r$(RELEASE)/log ;\
cp -r trlinux/files trlinux-r$(RELEASE)/files; \
cp trlinux/RELEASE_NOTES trlinux-r$(RELEASE) ; \
tar --exclude CVS --exclude TRMASTER.DTA.save --exclude TRMASTER.DTA\
-czf $@ trlinux-r$(RELEASE)/doc trlinux-r$(RELEASE)/log \
trlinux-r$(RELEASE)/files trlinux-r$(RELEASE)/RELEASE_NOTES )
trlinuxsrc-r$(RELEASE).tgz:
( cd .. ; \
mkdir trlinuxsrc-r$(RELEASE); \
cp -r trlinux/doc trlinuxsrc-r$(RELEASE)/doc ;\
cp -r trlinux/log trlinuxsrc-r$(RELEASE)/log ;\
cp -r trlinux/src trlinuxsrc-r$(RELEASE)/src;\
cp -r trlinux/files trlinuxsrc-r$(RELEASE)/files; \
cp trlinux/RELEASE_NOTES trlinuxsrc-r$(RELEASE) ; \
cp trlinux/COPYING trlinuxsrc-r$(RELEASE) ; \
cp trlinux/COPYRIGHT trlinuxsrc-r$(RELEASE) ; \
tar --exclude CVS --exclude TRMASTER.DTA.save --exclude TRMASTER.DTA\
-czf $@ trlinuxsrc-r$(RELEASE)/doc trlinuxsrc-r$(RELEASE)/log \
trlinuxsrc-r$(RELEASE)/files \
trlinuxsrc-r$(RELEASE)/RELEASE_NOTES trlinuxsrc-r$(RELEASE)/src )