photo-stats

statistics processor for the terminal
git clone https://git.clttr.info/photo-stats.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit c4eef1a47a875107b19e64b22a0cb22a23925a3e
parent 5fd7e15f0f77ee66a476ffec6878007eae874bff
Author: René Wagner <rwa@clttr.info>
Date:   Sun,  2 Apr 2023 17:31:46 +0200

add Makefile and manpage templates

Diffstat:
AMakefile | 32++++++++++++++++++++++++++++++++
Aphosta-alias.5.scd | 17+++++++++++++++++
Aphosta.1.scd | 18++++++++++++++++++
3 files changed, 67 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -0,0 +1,32 @@ +VERSION=1.1 +PREFIX?=/usr/local +BINDIR?=$(PREFIX)/bin +MANDIR?=$(PREFIX)/share/man +.DEFAULT_GOAL=all + +phosta: + +phosta.1: phosta.1.scd + scdoc < $< > $@ + +phosta-alias.5: phosta-alias.5.scd + scdoc < $< > $@ + +all: phosta phosta.1 phosta-alias.5 + +clean: + rm -rf phosta.1 phosta-alias.5 + +install: all + mkdir -p $(DESTDIR)/$(BINDIR) $(DESTDIR)/$(MANDIR)/man1 $(DESTDIR)/$(MANDIR)/man5 $(DESTDIR)/$(PCDIR) + install -m755 phosta $(DESTDIR)/$(BINDIR)/phosta + install -m644 phosta.1 $(DESTDIR)/$(MANDIR)/man1/phosta.1 + install -m644 phosta-alias.5 $(DESTDIR)/$(MANDIR)/man5/phosta-alias.5 + +uninstall: + rm -f $(DESTDIR)/$(BINDIR)/phosta + rm -f $(DESTDIR)/$(MANDIR)/man1/phosta.1 + rm -f $(DESTDIR)/$(MANDIR)/man5/phosta-alias.5 + +check: phosta phosta.1 phosta-alias.5 + @find test -perm -111 -exec '{}' \; diff --git a/phosta-alias.5.scd b/phosta-alias.5.scd @@ -0,0 +1,17 @@ +PHOSTA-ALIAS(5) + +# NAME + +\~/.phosta.alias\ is the config file for name replacement + +# SYNTAX + + +# SEE ALSO + +_phosta_(1) + +# AUTHORS + +Maintained by René Wagner <rwa@clttr.info>. +Project repo can be found at https://git.sr.ht/~rwa/photo-stats diff --git a/phosta.1.scd b/phosta.1.scd @@ -0,0 +1,18 @@ +PHOSTA(1) + +# NAME + + +# SYNOPSIS + + +# SYNOPSIS + +# SEE ALSO + +_phosta_alias_(5) + +# AUTHORS + +Maintained by René Wagner <rwa@clttr.info>. +Project repo can be found at https://git.sr.ht/~rwa/photo-stats