mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 09:42:05 -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
|
fi
|
||||||
make clean
|
make clean
|
||||||
python3 scripts/patch.py $(version) $(release)
|
python3 scripts/patch.py $(version) $(release)
|
||||||
|
touch $(cf_source_dir)/_READY
|
||||||
|
|
||||||
mozbootstrap:
|
mozbootstrap:
|
||||||
cd $(cf_source_dir) && MOZBUILD_STATE_PATH=$$HOME/.mozbuild ./mach --no-interactive bootstrap --application-choice=browser
|
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)
|
rm -rf $(cf_source_dir)
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@if [ ! -d $(cf_source_dir) ]; then \
|
@if [ ! -f $(cf_source_dir)/_READY ]; then \
|
||||||
make dir; \
|
make dir; \
|
||||||
fi
|
fi
|
||||||
cd $(cf_source_dir) && ./mach build
|
cd $(cf_source_dir) && ./mach build
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue