[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 16:03:16 CEST 2019

Tim Rühsen commented on a discussion on doc/manpages/Makefile.am: https://gitlab.com/gnutls/gnutls/merge_requests/1012#note_175818456

>  	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

Good eyes :-) It's not finalized yet, more like a proof-of-concept. Will re-arrange that to only use sed 1x.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1012#note_175818456
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/5b52d9b2/attachment.html>

More information about the Gnutls-devel mailing list