+VERSION = 2.0
+
SCRIPTS = $(CURDIR)/ipfireboot.ipxe
MACHINE = $(shell uname -m)
all: $(TARGETS)
clean:
- rm -rfv $(TARGETS)
+ rm -rfv $(SCRIPTS) $(TARGETS)
make -C ipxe/src clean veryclean
-$(TARGETS): config/branding.h config/general.h
+%: %.in
+ sed -e "s/@VERSION@/$(VERSION)/g" \
+ < $< > $@
+
+$(TARGETS): $(SCRIPTS) config/branding.h config/general.h
# Copy our configuration to the gPXE submodule
cp -vf config/* ipxe/src/config/local/