mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 07:02:03 -08:00
Makefile: Add an "unbusy" to remove blocking files before building
This commit is contained in:
parent
64f0eaea99
commit
aeae79f1b4
1 changed files with 9 additions and 1 deletions
10
Makefile
10
Makefile
|
|
@ -128,7 +128,7 @@ clean:
|
|||
distclean:
|
||||
rm -rf $(cf_source_dir) $(ff_source_tarball)
|
||||
|
||||
build:
|
||||
build: unbusy
|
||||
@if [ ! -f $(cf_source_dir)/_READY ]; then \
|
||||
make dir; \
|
||||
fi
|
||||
|
|
@ -241,6 +241,14 @@ tests:
|
|||
--executable-path ../$(cf_source_dir)/obj-x86_64-pc-linux-gnu/dist/bin/camoufox-bin \
|
||||
$(if $(filter true,$(headful)),--headful,)
|
||||
|
||||
unbusy:
|
||||
rm -rf $(cf_source_dir)/obj-x86_64-pc-linux-gnu/dist/bin/camoufox-bin \
|
||||
$(cf_source_dir)/obj-x86_64-pc-linux-gnu/dist/bin/camoufox \
|
||||
$(cf_source_dir)/obj-x86_64-pc-linux-gnu/dist/bin/launch
|
||||
|
||||
path:
|
||||
@realpath $(cf_source_dir)/obj-x86_64-pc-linux-gnu/dist/bin/camoufox-bin
|
||||
|
||||
update-ubo-assets:
|
||||
bash ./scripts/update-ubo-assets.sh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue