[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / pta

File: [cvsweb.bsd.lv] / pta / Makefile (download)

Revision 1.1, Sun Sep 27 14:35:34 2020 UTC (3 years, 6 months ago) by schwarze
Branch: MAIN

initial version

# $Id: Makefile,v 1.1 2020/09/27 14:35:34 schwarze Exp $
# Ingo Schwarze 2020.  Public domain.

all:
	@echo 'Nothing to do; set $$DESTDIR and try "make install".'

install:
	@if test -z "$(DESTDIR)"; then echo "DESTDIR is not set"; exit 1; fi
	install -o root -g wheel -m 0755 -d $(DESTDIR)/bin
	install -o root -g wheel -m 0755 -d $(DESTDIR)/man
	install -o root -g wheel -m 0755 -d $(DESTDIR)/man/man1
	install -o root -g wheel -m 0755 -d $(DESTDIR)/man/man5
	install -o root -g wheel -m 0755 -d $(DESTDIR)/man/man7
	install -o root -g wheel -m 0755 -d $(DESTDIR)/share
	install -o root -g wheel -m 0755 -d $(DESTDIR)/share/examples
	install -o root -g wheel -m 0755 -d $(DESTDIR)/share/examples/pta
	install -o root -g bin -m 0555 pta.pl $(DESTDIR)/bin/pta 
	install -o root -g bin -m 0444 pta.1 $(DESTDIR)/man/man1/
	install -o root -g bin -m 0444 pta-accounts.5 $(DESTDIR)/man/man5/
	install -o root -g bin -m 0444 pta-journal.5 $(DESTDIR)/man/man5/
	install -o root -g bin -m 0444 pta-glossary.7 $(DESTDIR)/man/man7/
	install -o root -g wheel -m 0444 accounts.example.de \
	    $(DESTDIR)/share/examples/pta/

.PHONY: all install