branch: externals/transient
commit 7d9d639cdf49fc5824159e11b74fdaa66f82298f
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
make: Only append newline to transient.texi if missing
---
docs/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/docs/Makefile b/docs/Makefile
index 97629a2b8e..79cf26c0e0 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -16,8 +16,7 @@ ORG_EVAL += --funcall org-texinfo-export-to-texinfo
texi:
@printf "Generating $(PKG).texi\n"
@$(EMACS) $(ORG_ARGS) $(PKG).org $(ORG_EVAL)
- @printf "\n" >> $(PKG).texi
- @sed -i -e 's/“/``/' -e "s/”/''/" $(PKG).texi
+ @sed -i -e 's/“/``/' -e "s/”/''/" -e '$$a\' $(PKG).texi
@rm -f $(PKG).texi~
%.info: %.texi