commit d26fda90b749cddcb947df178d0941424140666d
parent ae945c8929cef34c97db7121c4c15723026dd255
Author: gottox@rootkit.lan <unknown>
Date: Wed, 19 Dec 2007 13:34:21 +0100
fixing Makefile
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -41,12 +41,12 @@ dist: clean
install: all
@echo installing executable file to ${DESTDIR}${PREFIX}/bin
@mkdir -p ${DESTDIR}${PREFIX}/bin
- @cp -f spiceman ${DESTDIR}${PREFIX}/bin
+ @cp -f ${TARGET} ${DESTDIR}${PREFIX}/bin
@chmod 755 ${DESTDIR}${PREFIX}/bin/spiceman
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
- @sed "s/VERSION/${VERSION}/g" < spiceman.1 > ${DESTDIR}${MANPREFIX}/man1/spiceman.1
- @chmod 644 ${DESTDIR}${MANPREFIX}/man1/spiceman.1
+ @sed "s/VERSION/${VERSION}/g" < ${TARGET}.1 > ${DESTDIR}${MANPREFIX}/man1/${TARGET}.1
+ @chmod 644 ${DESTDIR}${MANPREFIX}/man1/${TARGET}.1
uninstall:
@echo removing executable file from ${DESTDIR}${PREFIX}/bin