From f4ac504af75bd0485a04316d7ee67243995aefad Mon Sep 17 00:00:00 2001 From: marco Date: Thu, 3 Nov 2011 18:38:57 -0500 Subject: use install instead of cp and mkdir for install --- Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e7d3d1f..1891ea8 100644 --- a/Makefile +++ b/Makefile @@ -31,13 +31,14 @@ ${.CURDIR}/javascript.h: hinting.js input-focus.js ${.CURDIR}/input-focus.js > ${.CURDIR}/javascript.h beforeinstall: - mkdir -p ${PREFIX}/share/xxxterm - cp ${.CURDIR}/xxxtermicon16.png ${PREFIX}/share/xxxterm - cp ${.CURDIR}/xxxtermicon32.png ${PREFIX}/share/xxxterm - cp ${.CURDIR}/xxxtermicon48.png ${PREFIX}/share/xxxterm - cp ${.CURDIR}/xxxtermicon64.png ${PREFIX}/share/xxxterm - cp ${.CURDIR}/xxxtermicon128.png ${PREFIX}/share/xxxterm - cp ${.CURDIR}/style.css ${PREFIX}/share/xxxterm + install -m 755 -d ${PREFIX}/share/xxxterm + install -m 644 ${.CURDIR}/xxxtermicon.png ${PREFIX}/share/xxxterm + install -m 644 ${.CURDIR}/xxxtermicon16.png ${PREFIX}/share/xxxterm + install -m 644 ${.CURDIR}/xxxtermicon32.png ${PREFIX}/share/xxxterm + install -m 644 ${.CURDIR}/xxxtermicon48.png ${PREFIX}/share/xxxterm + install -m 644 ${.CURDIR}/xxxtermicon64.png ${PREFIX}/share/xxxterm + install -m 644 ${.CURDIR}/xxxtermicon128.png ${PREFIX}/share/xxxterm + install -m 644 ${.CURDIR}/style.css ${PREFIX}/share/xxxterm ${PROG} ${OBJS} beforedepend: ${.CURDIR}/javascript.h -- cgit 1.4.1-2-gfad0