branch: main commit 54a5611eec46d81eaad0b52f8b9c9d650ac43439 Author: Tassilo Horn <t...@gnu.org> Commit: Tassilo Horn <t...@gnu.org>
Improve makefile for AUCTeX ELPA versions * GNUmakefile (IGNORED): Don't fail if ChangeLog hasn't been generated yet. --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 37d6d185..78463037 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -52,7 +52,7 @@ README: doc/intro.texi doc/preview-readme.texi doc/macros.texi (cd doc; $(MAKEINFO_PLAIN) preview-readme.texi --output -) >> $@ # Commands copied&adapted from autogen.sh and doc/Makefile.in. -IGNORED:=$(shell rm ChangeLog && ./build-aux/gitlog-to-auctexlog && cat ChangeLog.1 >> ChangeLog) +IGNORED:=$(shell rm -f ChangeLog && ./build-aux/gitlog-to-auctexlog && cat ChangeLog.1 >> ChangeLog) AUCTEXDATE:=$(shell LANG=C sed -n '1s/^\([-0-9][-0-9]*\).*/\1/p' ChangeLog) THISVERSION:=$(shell sed -n '2,/^[0-9]/s/.*Version \(.*\) released\..*/\1/p' ChangeLog) LASTVERSION:=$(shell sed -n '/.*Version .* released\./{s/.*Version \(.*\) released\..*/\1/p;q}' ChangeLog)