equal
deleted
inserted
replaced
39 rm -rf dwm-${VERSION} |
39 rm -rf dwm-${VERSION} |
40 |
40 |
41 install: all |
41 install: all |
42 @mkdir -p ${DESTDIR}${PREFIX}/bin |
42 @mkdir -p ${DESTDIR}${PREFIX}/bin |
43 @cp -f ${BIN} ${DESTDIR}${PREFIX}/bin |
43 @cp -f ${BIN} ${DESTDIR}${PREFIX}/bin |
|
44 @for i in ${BIN}; do \ |
|
45 chmod 755 ${DESTDIR}${PREFIX}/bin/`basename $$i`; \ |
|
46 done |
44 @echo installed executable files to ${DESTDIR}${PREFIX}/bin |
47 @echo installed executable files to ${DESTDIR}${PREFIX}/bin |
45 @mkdir -p ${DESTDIR}${MANPREFIX}/man1 |
48 @mkdir -p ${DESTDIR}${MANPREFIX}/man1 |
46 @cp -f ${MAN1} ${DESTDIR}${MANPREFIX}/man1 |
49 @cp -f ${MAN1} ${DESTDIR}${MANPREFIX}/man1 |
|
50 @for i in ${MAN1}; do \ |
|
51 chmod 444 ${DESTDIR}${MANPREFIX}/man1/`basename $$i`; \ |
|
52 done |
47 @echo installed manual pages to ${DESTDIR}${MANPREFIX}/man1 |
53 @echo installed manual pages to ${DESTDIR}${MANPREFIX}/man1 |
48 |
54 |
49 uninstall: |
55 uninstall: |
50 for i in ${BIN}; do \ |
56 for i in ${BIN}; do \ |
51 rm -f ${DESTDIR}${PREFIX}/bin/`basename $$i`; \ |
57 rm -f ${DESTDIR}${PREFIX}/bin/`basename $$i`; \ |