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}
sal.agency/trips.html?id=32b69f7df4c155d7a09f140a53c3b39a330027e4&follow=1'>Add some more film stocks to the listJune McEnroe 2024-09-13Add photos from September 2June McEnroe 2024-09-13Add Fomapan 200 to films listJune McEnroe 2024-09-10Add August 29 picnic photosJune McEnroe 2024-09-08Apply some bold to trips renderingJune McEnroe 2024-09-08Render trips hopefully more efficientlyJune McEnroe 2024-09-08Allow removing bodies and lensesJune McEnroe 2024-09-08Limit body width so it looks less silly on desktopJune McEnroe 2024-09-07Handle no film being loadedJune McEnroe 2024-09-07Fancy up the text a littleJune McEnroe