Mercurial > hgrepos > hgweb.cgi > after5
annotate Makefile @ 75:360d7144ab8d draft
Simplify.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 29 Nov 2012 12:37:02 +0900 |
parents | eab5481212e0 |
children |
rev | line source |
---|---|
18 | 1 # |
2 # makefile for after5 cgi wrapper | |
3 # | |
4 | |
5 CC = gcc | |
6 VERSION = `head after5.cgi|awk '/Id:/{print $$4}'` | |
7 PNAME = after5-${VERSION} | |
25
eab5481212e0
Use `hg archive' to create archive.
HIROSE Yuuji <yuuji@gentei.org>
parents:
18
diff
changeset
|
8 TMPDIR = /tmp |
eab5481212e0
Use `hg archive' to create archive.
HIROSE Yuuji <yuuji@gentei.org>
parents:
18
diff
changeset
|
9 PFILE = ${TMPDIR}/${PNAME}.tar.gz |
18 | 10 |
11 FILES = a5.c Makefile after5.cgi after5.css after5.png after5.rb \ | |
12 holiday | |
13 GTAR = gtar | |
25
eab5481212e0
Use `hg archive' to create archive.
HIROSE Yuuji <yuuji@gentei.org>
parents:
18
diff
changeset
|
14 HG = hg |
18 | 15 |
16 a5.cgi: a5.c | |
17 ${CC} -o a5.cgi a5.c | |
18 chmod u+s a5.cgi | |
19 | |
20 package: | |
25
eab5481212e0
Use `hg archive' to create archive.
HIROSE Yuuji <yuuji@gentei.org>
parents:
18
diff
changeset
|
21 ${HG} archive -t tgz -X '.*' ${PFILE} |
eab5481212e0
Use `hg archive' to create archive.
HIROSE Yuuji <yuuji@gentei.org>
parents:
18
diff
changeset
|
22 -@ls -l ${PFILE} |