version 1.2, 2020/09/27 15:34:53 |
version 1.5, 2020/11/30 16:42:22 |
|
|
install -o root -g wheel -m 0755 -d $(DESTDIR)/share |
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 |
install -o root -g wheel -m 0755 -d $(DESTDIR)/share/examples/pta |
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 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.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-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-journal.5 $(DESTDIR)/man/man5/ |
|
|
accounts.example.en journal.example.en \ |
accounts.example.en journal.example.en \ |
$(DESTDIR)/share/examples/pta/ |
$(DESTDIR)/share/examples/pta/ |
|
|
.PHONY: all install |
regress: |
|
cd regress/import && ln -sf ../../import |
|
cd regress/import && ./regress.pl |
|
|
|
regress-clean: |
|
cd regress/import && rm -f import |
|
|
|
# Maintainer targets. |
|
|
|
WWW_MANS = pta.1.html \ |
|
pta-accounts.5.html \ |
|
pta-journal.5.html \ |
|
pta-glossary.7.html |
|
|
|
WWW_DIR = /var/www/vhosts/mdocml.bsd.lv/htdocs/pta |
|
|
|
www: $(WWW_MANS) |
|
|
|
www-install: www |
|
install -o schwarze -g mdocml -m 0644 $(WWW_MANS) $(WWW_DIR)/man/ |
|
|
|
.SUFFIXES: .1 .5 .7 .1.html .5.html .7.html |
|
|
|
.1.1.html .5.5.html .7.7.html: |
|
mandoc -T html -O 'style=/mandoc.css,man=/pta/man/%N.%S.html;https://man.openbsd.org/%N.%S' $< > $@ |
|
|
|
.PHONY: all install regress regress-clean www-install |