blob: 3202fb764763a0b0b7b455266e8caf557dbd3f9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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
|