Makefile: better symlink handling

This commit is contained in:
Kay Faraday 2024-08-13 23:39:19 -07:00
parent 8890abfbf6
commit 4aaf06b86a
1 changed files with 2 additions and 5 deletions

View File

@ -7,11 +7,8 @@ all: $(PAGES_BUILD) symlinks
symlinks: build/tor/static build/clearnet/static
build/tor/static:
ln -s ../../static build/tor/
build/clearnet/static:
ln -s ../../static build/clearnet/
build/%/static:
ln -s ../../static build/$*/
clean:
rm -rf $(PAGES_BUILD)