Add '\n' to the end of each line when generating xsl.c

This makes the bind9.xml more readable in a browser when debugging
and also ensures that the file is properly terminated in the HTTP
transaction.
This commit is contained in:
Mark Andrews
2021-10-22 17:00:39 +11:00
parent d051de17de
commit 5bde56a4bb

View File

@@ -47,7 +47,7 @@ xsl.c: bind9.xsl Makefile
(echo 'const char xslmsg[] =' && \
$(SED) -e 's,\",\\\",g' \
-e 's,^,\",' \
-e 's,$$,\",' && \
-e 's,$$,\\n\",' && \
echo ";") \
< "${srcdir}/bind9.xsl" > $@