diff options
author | June McEnroe <june@causal.agency> | 2020-12-31 14:22:25 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-12-31 14:22:25 -0500 |
commit | ebb79c5ee379218c5041ed5d190cbaf419ee1a6e (patch) | |
tree | 26fb41ae1eb9fa6a42efc8b9b849b24667fe593e /port/ddate/Makefile | |
parent | Print octal for 8 bits in bit (diff) | |
download | src-ebb79c5ee379218c5041ed5d190cbaf419ee1a6e.tar.gz src-ebb79c5ee379218c5041ed5d190cbaf419ee1a6e.zip |
Add ddate
I'm tired of package managers not having this!
Diffstat (limited to '')
-rw-r--r-- | port/ddate/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/port/ddate/Makefile b/port/ddate/Makefile new file mode 100644 index 00000000..c1bc4553 --- /dev/null +++ b/port/ddate/Makefile @@ -0,0 +1,15 @@ +PREFIX ?= ~/.local +MANDIR ?= ${PREFIX}/share/man + +ddate: + +clean: + rm -f ddate + +install: ddate ddate.1 + install -d ${PREFIX}/bin ${MANDIR}/man1 + install ddate ${PREFIX}/bin + install -m 644 ddate.1 ${MANDIR}/man1 + +uninstall: + rm -f ${PREFIX}/bin/ddate ${MANDIR}/man1/ddate.1 |