summaryrefslogtreecommitdiff
path: root/Makefile
blob: b28ae64808413a7772b3efa6f3ed95997a7e200a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Portable makefile supporting OpenBSD and GNU/Linux.

PREFIX = /usr/local
INSTALL = install
BINDIR = bin
BINOWN = root
BINGRP = root
BINMODE = 555
MANDIR = man/man
MANOWN = root
MANGRP = root
MANMODE = 444

include config.mk

all:

clean:

lint:
	shellcheck -a temp-postgres.sh
	mandoc -T lint -W warning temp-postgres.1
	-mandoc -T lint -W all temp-postgres.1

install:
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} temp-postgres.sh ${DESTDIR}${PREFIX}/${BINDIR}/temp-postgres
	${INSTALL} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} temp-postgres.1 ${DESTDIR}${PREFIX}/${MANDIR}1/temp-postgres.1

uninstall:
	rm -f ${DESTDIR}${PREFIX}/${BINDIR}/temp-postgres
	rm -f ${DESTDIR}${PREFIX}/${MANDIR}1/temp-postgres.1
Generated by cgit. See skreutz.com for my tech blog and contact information.