|
|
@@ -1,7 +1,7 @@
|
|
|
|
|
|
|
|
|
.PHONY: build
|
|
|
-build: build/bootstrap_captive_bundle.sh
|
|
|
+build: build/bootstrap_captive_bundle.sh.sha256
|
|
|
|
|
|
rebuild: clean build
|
|
|
|
|
|
@@ -10,6 +10,10 @@ build/src: src
|
|
|
rsync -ai --delete --exclude __pycache__ src/ build/src/
|
|
|
uuidgen > build/src/build.uuid
|
|
|
|
|
|
+build/bootstrap_captive_bundle.sh.sha256: build/bootstrap_captive_bundle.sh
|
|
|
+ cd build && sha256sum bootstrap_captive_bundle.sh > \
|
|
|
+ bootstrap_captive_bundle.sh.sha256
|
|
|
+
|
|
|
build/bootstrap_captive_bundle.sh: build/src
|
|
|
./sharxz.sh build/src/ ${@}.tmp
|
|
|
mv ${@}.tmp ${@}
|