about summary refs log tree commit diff
path: root/system.mk
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-08-26 16:22:38 -0400
committerJune McEnroe <june@causal.agency>2021-08-26 16:22:38 -0400
commit42903aa6d5482af2377170017dd8d12c66cc1c2d (patch)
treef432d645f62e3fdaf2ea6891e03c0543e9ac6198 /system.mk
parentAdd version number generator (diff)
downloadexman-42903aa6d5482af2377170017dd8d12c66cc1c2d.tar.gz
exman-42903aa6d5482af2377170017dd8d12c66cc1c2d.zip
Support DESTDIR in install/uninstall
Diffstat (limited to '')
-rw-r--r--system.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/system.mk b/system.mk
index 9a56c9d..4ed82be 100644
--- a/system.mk
+++ b/system.mk
@@ -17,11 +17,11 @@ clean:
 	rm -f ${DISTFILES}
 
 install: ${DISTFILES}
-	install -d ${EXMANDIR}/${SYSTEM}
+	install -d ${DESTDIR}${EXMANDIR}/${SYSTEM}
 .for distfile in ${DISTFILES}
-	${TAR} -x -f ${distfile} -C ${EXMANDIR}/${SYSTEM} \
+	${TAR} -x -f ${distfile} -C ${DESTDIR}${EXMANDIR}/${SYSTEM} \
 		--strip-components=${STRIP} '${FILES}' || ${ALLOW_FAILURE}
 .endfor
 
 uninstall:
-	rm -fr ${EXMANDIR}/${SYSTEM}
+	rm -fr ${DESTDIR}${EXMANDIR}/${SYSTEM}
class='logheader'>2017-09-01Revert "Add client readOnly mode"June McEnroe This reverts commit 34f25ae40a3db9369e9d98b3814f2b93bbc21451. 2017-09-01Remove clientRemove call from clientCastJune McEnroe If an error occurs on a client socket during a broadcast, that client will show up in the kqueue loop with EV_EOF and get removed that way. Tested by sending SIGKILL to a client and watching its cursor disappear. 2017-09-01Add client readOnly modeJune McEnroe 2017-08-31Clean up merge toolJune McEnroe Choose the version with the most recent access if the modify times are the same. 2017-08-31Choose B for tiles with equal modify timesJune McEnroe This way newer access counts and times will be preserved. 2017-08-31Add quick data file merge toolJune McEnroe Hopefully I won't have to use it ever again. 2017-08-30Use only foreground color for selecting spawnJune McEnroe 2017-08-29Add four additional spawnsJune McEnroe 2017-08-28Add respawningJune McEnroe 2017-08-26Move license above includesJune McEnroe Why was it down there? 2017-08-26Snapshot metadataJune McEnroe 2017-08-26Add meta.c to READMEJune McEnroe 2017-08-26Use MakefileJune McEnroe