aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2020-01-28 14:15:00 +0100
committerMarc André Tanner <mat@brain-dump.org>2020-01-30 11:38:45 +0100
commit57eee2407c584910a1747d9350cec4fb2420a338 (patch)
tree7a3bf9b4c5052593cc2a930d96a66236552a1839 /Makefile
parent6f571a8f39ba975d263203d3def9bad05d92260e (diff)
downloadvis-57eee2407c584910a1747d9350cec4fb2420a338.tar.gz
vis-57eee2407c584910a1747d9350cec4fb2420a338.tar.xz
build: add target docker-clean
This removes the docker image and volume `vis` and thus purges everything we added in docker.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b42eed9..727e57d 100644
--- a/Makefile
+++ b/Makefile
@@ -94,6 +94,9 @@ docker: clean
docker cp vis:/build/vis/vis-single vis
docker kill vis
+docker-clean: clean
+ -docker image rm vis
+
debug: clean
@$(MAKE) CFLAGS_EXTRA='${CFLAGS_EXTRA} ${CFLAGS_DEBUG}'
@@ -180,4 +183,4 @@ uninstall:
@echo removing support files from ${DESTDIR}${SHAREPREFIX}/vis
@rm -rf ${DESTDIR}${SHAREPREFIX}/vis
-.PHONY: all clean dist install uninstall debug profile coverage test test-update luadoc luadoc-all luacheck man docker
+.PHONY: all clean dist install uninstall debug profile coverage test test-update luadoc luadoc-all luacheck man docker docker-clean