the Makefiles do
install: all
@echo installing executable file to ${DESTDIR}${PREFIX}/bin
@mkdir -p ${DESTDIR}${PREFIX}/bin
@cp -f dwm ${DESTDIR}${PREFIX}/bin
@chmod 755 ${DESTDIR}${PREFIX}/bin/dwm
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
@sed "s/VERSION/${VERSION}/g" < dwm.1 >
${DESTDIR}${MANPREFIX}/man1/dwm.1
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
why not use install to make it simpler?
install: all
@echo installing executable file to ${DESTDIR}${PREFIX}/bin
@install -m755 -D dwm ${DESTDIR}${PREFIX}/bin
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
@install -m644 -D dwm.1 ${DESTDIR}${MANPREFIX}/man1
@sed -i "s/VERSION/${VERSION}/g" ${DESTDIR}${MANPREFIX}/man1/dwm.1
-emg
Received on Thu Dec 06 2007 - 08:51:32 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:58:53 UTC