Skip to content
Snippets Groups Projects
Verified Commit acd8dc18 authored by Pea Nut's avatar Pea Nut
Browse files

[Makefile] Use unlink only on Windows for make clean

Before, make clean always returned with an error because the file did
not exist
parent d04fd4d3
No related branches found
No related tags found
1 merge request!232Add allinone (clean/vendor/build) default target to Makefile, Remove gui/providers/providers.json from git repo, Don't use unlink on *nix in Makefile
......@@ -297,7 +297,12 @@ endif
clean:
@rm -rf lib/*
@rm -rf build/
ifeq ($(PLATFORM), windows)
# Need to use unlink on Windows for permission reasons
@-unlink branding/assets/default
else
@rm -rf branding/assets/default
endif
@cd ArchLinux && rm -rf bitmask-vpn pkg src *.tar.zst
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment