wip trying to create debug folder

This commit is contained in:
asus
2024-02-06 19:32:24 +01:00
parent bb844a428b
commit 217b20e7ae
4 changed files with 17 additions and 5 deletions

View File

@@ -33,11 +33,12 @@ SOURCE_ENV := . $(ENV_PATH)
# list of volumes
VOLUME_ENV := set | grep "^HOST_VOLUME_" | cut -d "=" -f 2
VOLUMES_D = $(shell $(SOURCE_ENV) ; $(VOLUME_ENV) )
ERASE_VOLUMES_D = $(shell $(SOURCE_ENV) ; echo $$HOST_VOLUMES_DIR )
PARENT_VOLUMES_D = $(shell $(SOURCE_ENV) ; echo $$HOST_VOLUMES_DIR )
VOLUME_PLUGINS_D = $(shell $(SOURCE_ENV) ; echo $$HOST_VOLUME_PLUGINS )
# url for wordpress, use in makefile to change local
WP_URL = $(shell $(SOURCE_ENV) ; echo $$WP_URL )
WP_COMPLETE_URL = $(shell $(SOURCE_ENV) ; echo $$WP_COMPLETE_URL )
# error logs
# list of running containers, see : https://stackoverflow.com/questions/10024279/how-to-use-shell-commands-in-makefile
RUNNING = $(shell docker ps -q)
@@ -132,7 +133,7 @@ re: fclean all
# !! remove everything, also local volumes
# execpt the plugin volume
erase_volume:
- rm -rf $(ERASE_VOLUMES_D)
- rm -rf $(PARENT_VOLUMES_D)
erase: fclean erase_volume
new: erase all