diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index ede21d6..0000000 --- a/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -# Portable makefile supporting OpenBSD, FreeBSD, 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 -MANGZ = 0 - -include config.mk - -all: - gzip -c temp-postgres.1 >temp-postgres.1.gz - -clean: - rm temp-postgres.1.gz - -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 - if [ ${MANGZ} -eq 1 ] ; then \ - ${INSTALL} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} temp-postgres.1.gz ${DESTDIR}${PREFIX}/${MANDIR}1/temp-postgres.1.gz ; \ - else \ - ${INSTALL} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} temp-postgres.1 ${DESTDIR}${PREFIX}/${MANDIR}1/temp-postgres.1 ; \ - fi - -uninstall: - rm -f ${DESTDIR}${PREFIX}/${BINDIR}/temp-postgres - rm -f ${DESTDIR}${PREFIX}/${MANDIR}1/temp-postgres.1 - rm -f ${DESTDIR}${PREFIX}/${MANDIR}1/temp-postgres.1.gz |