summary refs log tree commit diff
path: root/port/file2c/Makefile
blob: 09f6b5d020d5fd38d686aacbbc5b26486a0a05cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
PREFIX = ~/.local
MANDIR = ${PREFIX}/share/man

file2c:

clean:
	rm -f file2c

install: file2c file2c.1
	install -d ${PREFIX}/bin ${MANDIR}/man1
	install file2c ${PREFIX}/bin
	install -m 644 file2c.1 ${MANDIR}/man1

uninstall:
	rm -f ${PREFIX}/bin/file2c ${MANDIR}/man1/file2c.1