[gnutls-devel] GnuTLS | WIP: Add src/psk2.c using new src/options.c [skip ci] (!1012)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Wed May 29 14:39:13 CEST 2019
Dmitry Eremin-Solenikov started a new discussion on doc/manpages/Makefile.am: https://gitlab.com/gnutls/gnutls/merge_requests/1012#note_175777248
> autogen -L ../../src -DMAN_SECTION=1 -Tagman-cmd.tpl "$<".tmp && \
> rm -f "$<".tmp
>
> +psk2tool.1: $(top_srcdir)/src/psk2.c $(top_srcdir)/src/psk2tool.md.in $(top_srcdir)/src/options.c
> + $(top_builddir)/src/psk2tool --options-md >psk2tool.1.txt
> + echo "% psk2tool(1) GnuTLS PSK2 tool|GnuTLS $(PACKAGE_VERSION)" > psk2tool.md
> + echo >> psk2tool.md
> + sed -e '/@OPTIONS@/{r psk2tool.1.txt' -e 'd}' $(top_srcdir)/src/psk2tool.md.in >> psk2tool.md
> + $(PANDOC) -s -f markdown -t man -o psk2tool.1 psk2tool.md
> + sed -e '/@OPTIONS@/{r psk2tool.1.txt' -e 'd}' $(top_srcdir)/src/psk2tool.md.in > psk2tool.md
> + $(PANDOC) -s -f markdown -t texinfo -o psk2tool.texi psk2tool.md
> + $(MAKEINFO) --force -o psk2tool.info psk2tool.texi
> + rm -f psk2tool.1.txt psk2tool.md
This rule looks complicated and fragile. E.g. why do you run `sed` twice?
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1012#note_175777248
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190529/b82fddc1/attachment-0001.html>
More information about the Gnutls-devel
mailing list