summary refs log tree commit diff
path: root/port/ddate/Makefile
blob: c1bc4553812af8f8f1c6fcdcc87e5b8df7416742 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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