X-Git-Url: https://git.subgeniuskitty.com/xmenu/.git/blobdiff_plain/a77326901f6923610c36bab6abda3ffca4ed8d3e..8455c36913ccca41c6740a76fad7e8641cbf349d:/Makefile diff --git a/Makefile b/Makefile index ac49c3c..8e58c75 100644 --- a/Makefile +++ b/Makefile @@ -10,9 +10,6 @@ ${PROG}: ${OBJS} ${OBJS}: config.h -config.h: config.def.h - cp config.def.h $@ - .c.o: ${CC} ${CFLAGS} -c $< @@ -21,9 +18,12 @@ clean: install: all install -d ${DESTDIR}${PREFIX}/bin/ + install -d ${DESTDIR}${MANPREFIX}/man1/ install -m 755 ${PROG} ${DESTDIR}${PREFIX}/bin/ + install -m 644 ${PROG}.1 ${DESTDIR}${MANPREFIX}/man1/ uninstall: - rm -f ${DESTDIR}${PREFIX}/bin/${PROG} + rm -f ${DESTDIR}/${PREFIX}/bin/${PROG} + rm -f ${DESTDIR}/${MANPREFIX}/man1/${PROG}.1 .PHONY: all clean install uninstall