makefile: Cleanup Emacs backup files before packaging

Running `make dist` could package files that do not belong.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
This commit is contained in:
Christophe de Dinechin 2023-07-30 14:38:07 +02:00
parent 52cbbb16ff
commit e8da3016f8

View file

@ -90,7 +90,8 @@ sim/gcc111libbid.a: sim/gcc111libbid-$(shell uname)-$(shell uname -m).a
dist: all
mv build/release/$(TARGET)_qspi.bin .
tar cvfz v$(VERSION).tgz $(TARGET).pgm $(TARGET)_qspi.bin help/ STATE/
tar cvfz v$(VERSION).tgz $(TARGET).pgm $(TARGET)_qspi.bin \
help/*.md STATE/*.48S
$(VERSION_H): $(BUILD)/version-$(VERSION).h
cp $< $@