Mercurial > MadButterfly
comparison tools/Makefile @ 134:4d2e28188460
-
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 17 Sep 2008 19:47:10 +0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
133:4c2d83721bcc | 134:4d2e28188460 |
---|---|
1 BINS= svg2code.py | |
2 M4SCRIPTS= mb_c_header.m4 mb_c_source.m4 foreach.m4 | |
3 PREFIX?= /usr/local/ | |
4 | |
5 all: | |
6 | |
7 install: | |
8 .for i in $(BINS) | |
9 $(INSTALL) -m 755 ${i} ${PREFIX}bin/ | |
10 .endfor | |
11 $(INSTALL) -d ${PREFIX}share/mb | |
12 .for i in $(M4SCRIPTS) | |
13 $(INSTALL) ${i} ${PREFIX}share/mb/ | |
14 .endfor | |
15 | |
16 clean: | |
17 for i in *~; do \ | |
18 echo "delete $$i"; rm -f $$i; \ | |
19 done |