[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / projects / playonbsd

File: [local] / projects / playonbsd / Makefile (download)

Revision 1.1, Mon Mar 9 04:28:37 2020 UTC (2 years, 6 months ago) by thfr
Branch: MAIN
CVS Tags: HEAD

add Makefile and README.md

PREFIX ?= /usr/local

.PHONY: install
install:
	cp playonbsd-cli.pl $(DESTDIR)$(PREFIX)/bin/
	cp playonbsd-cli.1 $(DESTDIR)$(PREFIX)/man/man1/

readme: playonbsd-cli.1
	mandoc -mdoc -T markdown playonbsd-cli.1 > README.md

.PHONY: uninstall
uninstall:
	rm -f $(DESTDIR)$(PREFIX)/bin/playonbsd-cli.pl
	rm -f $(DESTDIR)$(PREFIX)/man/man1/playonbsd-cli.1