File: Makefile.old

package info (click to toggle)
ptpd 2.3.0-dfsg-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,660 kB
  • ctags: 1,912
  • sloc: ansic: 16,682; sh: 246; makefile: 96
file content (33 lines) | stat: -rw-r--r-- 845 bytes parent folder | download
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)