mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 08:32:05 -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:
|
distclean:
|
||||||
rm -rf $(cf_source_dir) $(ff_source_tarball)
|
rm -rf $(cf_source_dir) $(ff_source_tarball)
|
||||||
|
|
||||||
build:
|
build: unbusy
|
||||||
@if [ ! -f $(cf_source_dir)/_READY ]; then \
|
@if [ ! -f $(cf_source_dir)/_READY ]; then \
|
||||||
make dir; \
|
make dir; \
|
||||||
fi
|
fi
|
||||||
|
|
@ -241,6 +241,14 @@ tests:
|
||||||
--executable-path ../$(cf_source_dir)/obj-x86_64-pc-linux-gnu/dist/bin/camoufox-bin \
|
--executable-path ../$(cf_source_dir)/obj-x86_64-pc-linux-gnu/dist/bin/camoufox-bin \
|
||||||
$(if $(filter true,$(headful)),--headful,)
|
$(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:
|
update-ubo-assets:
|
||||||
bash ./scripts/update-ubo-assets.sh
|
bash ./scripts/update-ubo-assets.sh
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue