Mercurial > MadButterfly
comparison tools/Makefile.pmake @ 174:9008ac31efbd
Install scripts and M4 macros in tools/ sub-directory.
Invoke automake to install scripts and pkgdata file.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 31 Oct 2008 10:57:47 +0800 |
parents | tools/Makefile@4d2e28188460 |
children | 586e50f82c1f |
comparison
equal
deleted
inserted
replaced
173:c490796f6c82 | 174:9008ac31efbd |
---|---|
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 |