about summary refs log tree commit diff
path: root/system.mk
blob: 4ed82be3bec994e190bf7bbf319eda83d3787ce0 (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
24
25
26
27
PREFIX ?= /usr/local
SHAREDIR ?= ${PREFIX}/share
EXMANDIR ?= ${SHAREDIR}/exman

CURL ?= curl
TAR ?= tar
ALLOW_FAILURE ?= false

all: ${DISTFILES}

.PRECIOUS: ${DISTFILES}

${DISTFILES}:
	${CURL} -LO ${MIRROR}/${.TARGET}

clean:
	rm -f ${DISTFILES}

install: ${DISTFILES}
	install -d ${DESTDIR}${EXMANDIR}/${SYSTEM}
.for distfile in ${DISTFILES}
	${TAR} -x -f ${distfile} -C ${DESTDIR}${EXMANDIR}/${SYSTEM} \
		--strip-components=${STRIP} '${FILES}' || ${ALLOW_FAILURE}
.endfor

uninstall:
	rm -fr ${DESTDIR}${EXMANDIR}/${SYSTEM}
Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe 2019-12-16Post "cgit setup"June McEnroe