prepared makefile for 3.5

This commit is contained in:
Anselm R. Garbe 2006-09-27 18:08:22 +02:00
parent a13455d665
commit fac0a361f5
1 changed files with 5 additions and 5 deletions

View File

@ -42,12 +42,12 @@ install: all
chmod 755 ${DESTDIR}${PREFIX}/bin/`basename $$i`; \
done
@echo installed executable files to ${DESTDIR}${PREFIX}/bin
@mkdir -p ${DESTDIR}${CONFPREFIX}/wmii-4
@mkdir -p ${DESTDIR}${CONFPREFIX}/wmii-${VERSION}
@cd rc; for i in *; do \
sed 's|CONFPREFIX|${CONFPREFIX}|g' <$$i >${DESTDIR}${CONFPREFIX}/wmii-4/$$i; \
chmod 755 ${DESTDIR}${CONFPREFIX}/wmii-4/$$i; \
sed 's|CONFPREFIX|${CONFPREFIX}|g' <$$i >${DESTDIR}${CONFPREFIX}/wmii-${VERSION}/$$i; \
chmod 755 ${DESTDIR}${CONFPREFIX}/wmii-${VERSION}/$$i; \
done
@echo installed rc scripts to ${DESTDIR}${CONFPREFIX}/wmii-4
@echo installed rc scripts to ${DESTDIR}${CONFPREFIX}/wmii-${VERSION}
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
@cp -f ${MAN1} ${DESTDIR}${MANPREFIX}/man1
@sed 's|CONFPREFIX|${CONFPREFIX}|g' <cmd/wm/wmii.1 >${DESTDIR}${MANPREFIX}/man1/wmii.1
@ -63,4 +63,4 @@ uninstall:
for i in ${MAN1}; do \
rm -f ${DESTDIR}${MANPREFIX}/man1/`basename $$i`; \
done
rm -rf ${DESTDIR}${CONFPREFIX}/wmii-4
rm -rf ${DESTDIR}${CONFPREFIX}/wmii-${VERSION}