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 | 88fdbb28f59376eeabf0eb8e2f59ec45e7c19347 (patch) | |
tree | 58b9e61095e46e455e57630b7d78d7ad4baf2de0 /port/ddate/Makefile | |
parent | Print octal for 8 bits in bit (diff) | |
download | src-88fdbb28f59376eeabf0eb8e2f59ec45e7c19347.tar.gz src-88fdbb28f59376eeabf0eb8e2f59ec45e7c19347.zip |
Add ddate
I'm tired of package managers not having this!
Diffstat (limited to 'port/ddate/Makefile')
-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 |