potcassim/Makefile

24 lines
527 B
Makefile
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# potcasse podcast self hosting made easy
# See the LICENSE file for copyright and license details.
.POSIX:
VERSION = 0.1
BIN = potcasse
PREFIX = /usr
BINDIR = ${PREFIX}/bin
all:
install:
@echo installing executable to "${DESTDIR}${PREFIX}/bin"
@mkdir -p "${DESTDIR}${BINDIR}"
@cp -f "${BIN}" "${DESTDIR}${BINDIR}/${BIN}"
@chmod 555 "${DESTDIR}${BINDIR}/${BIN}"
uninstall:
@echo removing executable file from "${DESTDIR}${PREFIX}/bin"
@rm -f "${DESTDIR}${BINDIR}/${BIN}"
.PHONY: all install uninstall clean