mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Makefile: fix build-env generation
Not sure why the previous commit with ovbious errors "seems to work"...
This commit is contained in:
parent
41275f9aac
commit
bb0d80a8d3
14
Makefile
14
Makefile
@ -299,11 +299,11 @@ version.ent: general.ent packages.ent gnome.ent $(ALLXML) $(ALLXSL) build-env
|
||||
# general/prog/python-modules.xml
|
||||
# $(Q)mv temp.xml $@
|
||||
|
||||
.PHONY: update-build-env
|
||||
update-build-env:
|
||||
$(Q)echo REV=$(REV) > $@.new
|
||||
$(Q)echo BASEDIR=$(BASEDIR) >> $@.new
|
||||
$(Q)diff $@.new $@ 2>/dev/null >/dev/null || mv $@.new $@
|
||||
$(Q)rm -f $@.new
|
||||
|
||||
build-env: update-build-env
|
||||
$(Q)echo REV=$(REV) > build-env.new
|
||||
$(Q)echo BASEDIR=$(BASEDIR) >> build-env.new
|
||||
$(Q)diff build-env{.new,} 2>/dev/null >/dev/null || mv build-env{.new,}
|
||||
$(Q)rm -f build-env.new
|
||||
|
||||
.PHONY: update-build-env
|
||||
update-build-env: ; @true
|
||||
|
Loading…
Reference in New Issue
Block a user