about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authormarco <marco@conformal.com>2011-11-03 18:38:57 -0500
committermarco <marco@conformal.com>2011-11-03 18:38:57 -0500
commitf4ac504af75bd0485a04316d7ee67243995aefad (patch)
tree486532665132d4fc8af8d87c2d2a05618838a8a9
parent204ea701ea8cbe46a96a3e45ba9c9819845f5f85 (diff)
downloadxombrero-f4ac504af75bd0485a04316d7ee67243995aefad.tar.gz
use install instead of cp and mkdir for install
-rw-r--r--Makefile15
1 files changed, 8 insertions, 7 deletions
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