mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 06:22:03 -08:00
Makefile: Add _READY flag to avoid building unpatched src
This commit is contained in:
parent
b48e994bc1
commit
75bf5f3c0a
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -41,6 +41,7 @@ dir:
|
|||
fi
|
||||
make clean
|
||||
python3 scripts/patch.py $(version) $(release)
|
||||
touch $(cf_source_dir)/_READY
|
||||
|
||||
mozbootstrap:
|
||||
cd $(cf_source_dir) && MOZBUILD_STATE_PATH=$$HOME/.mozbuild ./mach --no-interactive bootstrap --application-choice=browser
|
||||
|
|
@ -57,7 +58,7 @@ distclean: clean
|
|||
rm -rf $(cf_source_dir)
|
||||
|
||||
build:
|
||||
@if [ ! -d $(cf_source_dir) ]; then \
|
||||
@if [ ! -f $(cf_source_dir)/_READY ]; then \
|
||||
make dir; \
|
||||
fi
|
||||
cd $(cf_source_dir) && ./mach build
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue