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

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

Revision 1.3, Mon Mar 9 04:26:48 2020 UTC (2 years, 5 months ago) by thfr
Branch: MAIN
CVS Tags: release-3_0, release-2_2, HEAD
Changes since 1.2: +2 -0 lines

complete uninstall target

PREFIX ?= /usr/local

.PHONY: install
	mkdir -p $(DESTDIR)$(PREFIX)/share/fnaify/
	cp fnaify $(DESTDIR)$(PREFIX)/bin/
	cp fnaify.dllmap.config $(DESTDIR)$(PREFIX)/share/fnaify/
	cp fnaify.1 $(DESTDIR)$(PREFIX)/man/man1/

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

.PHONY: uninstall
	rm -f $(DESTDIR)$(PREFIX)/bin/fnaify
	rm -f $(DESTDIR)$(PREFIX)/share/fnaify/fnaify.dllmap.config
	rm -f $(DESTDIR)$(PREFIX)/man/man1/fnaify.1