File: Makefile

package info (click to toggle)
colormake 0.2-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 116 kB
  • ctags: 4
  • sloc: perl: 73; makefile: 59; sh: 18
file content (23 lines) | stat: -rw-r--r-- 584 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# Useful version control stuff.
#

APP=colormake
CGIDIR=/home/httpd/cgi-bin

install:
	echo "Read the README, please!"

clean:
	find . -name "*~" -exec rm -f \{\} \;

release:	version clean
	echo cvs commit -m "Release ..."
	echo cvs tag -d `echo -n v;sed -e 's/\./_/g' <Dev.VERSION` 2>/dev/null >/dev/null
	echo cvs tag `echo -n v;sed -e 's/\./_/g' <Dev.VERSION`

dist:	release
	(cd ..;\
	 touch anomy/.exclude;\
 	 ls -1d anomy/.exclude anomy/CVS anomy/Makefile anomy/Dev.* anomy/*/CVS >anomy/.exclude;\
	 tar chvfz anomy-`cat anomy/Dev.VERSION`.tar.gz anomy/ -X anomy/.exclude )