blob: 3202fb764763a0b0b7b455266e8caf557dbd3f9a (
plain) (
tree)
|
|
PREFIX ?= /usr/local
LIBEXECDIR ?= ${PREFIX}/libexec
SBINDIR ?= ${PREFIX}/sbin
MANDIR ?= ${PREFIX}/share/man
CFLAGS ?= -O2 -pipe -s
CFLAGS += -Wall -Wextra -Wpedantic -Werror
LDFLAGS ?= -static
cgit-about-filter: cgit-about-filter.c
${CC} -o $@ ${CFLAGS} ${LDFLAGS} $<
install: cgit-about-filter skein-infra skein.7 skein-infra.8
install -D -m 755 -t '${DESTDIR}${LIBEXECDIR}/skein' cgit-about-filter
install -D -m 755 -t '${DESTDIR}${SBINDIR}' skein-infra
install -D -m 644 -t '${DESTDIR}${MANDIR}/man7' skein.7
install -D -m 644 -t '${DESTDIR}${MANDIR}/man8' skein-infra.8
clean:
rm cgit-about-filter
.PHONY: install clean
|