Nova's POSIX Shell Tools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
465 B

include config.mk
install: install-prog install-man
uninstall: uninstall-prog uninstall-man
install-prog:
for i in ${PROG}; do install -m0755 bin/$$i $(DESTDIR)$(PREFIX)/bin/$$i; done
install-man:
for m in ${MAN}; do install -m0644 man/man1/$$m $(DESTDIR)$(PREFIX)/share/man/man1/$$m; done
uninstall-prog:
for i in ${PROG}; do rm -f -v $(DESTDIR)$(PREFIX)/bin/$$i; done
uninstall-man:
for m in ${MAN}; do rm -f -v $(DESTDIR)$(PREFIX)/share/man/man1/$$m; done