-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.old
33 lines (30 loc) · 845 Bytes
/
Makefile.old
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
# Root Makefile for ptpd, used for cutting releases and release candidates
NAME = ptpd
VERSION = ${NAME}-2.2.2
RC = ${NAME}-2-RC-0
rc:
(cd src; make clean)
mkdir $(RC)
(cd $(RC); \
ln -s ../src .; \
ln -s ../doc .; \
ln -s ../tools .; \
ln -s ../COPYRIGHT .; \
ln -s ../ChangeLog .; \
ln -s ../Makefile .; \
ln -s ../README .; \
ln -s ../RELEASE_NOTES .)
tar cvzf $(RC).tar.gz -L --exclude .o --exclude Doxygen --exclude .svn --exclude .dep --exclude core $(RC)
release:
(cd src; make clean)
mkdir $(VERSION)
(cd $(VERSION); \
ln -s ../src .; \
ln -s ../doc .; \
ln -s ../tools .; \
ln -s ../COPYRIGHT .; \
ln -s ../ChangeLog .; \
ln -s ../Makefile .; \
ln -s ../README .; \
ln -s ../RELEASE_NOTES .)
tar cvzf $(VERSION).tar.gz -L --exclude .o --exclude Doxygen --exclude .svn --exclude .dep --exclude core $(VERSION)