1 # This Makefile.am is in the public domain
3 do_subst = $(SED) -e 's,[@]SYSCONFDIR[@],$(sysconfdir),g'
5 gnunet.conf.5: gnunet.conf.5.in Makefile
6 $(do_subst) < $(srcdir)/gnunet.conf.5.in > gnunet.conf.5
8 CLEANFILES = gnunet.conf.5
10 if TEXI2MDOC_GENERATION
11 gnunet-c-tutorial.7: Makefile
12 @texi2mdoc -I../tutorial:../tutorial/chapters ../tutorial/gnunet-tutorial.texi > gnunet-c-tutorial.7
14 gnunet-documentation.7: Makefile
15 @texi2mdoc -I../handbook:../handbook/chapters ../handbook/gnunet.texi > gnunet-documentation.7
17 CLEANFILES += gnunet-documentation.7 gnunet-c-tutorial.7
21 # After I went through the alternatives with the focus
22 # on staying as portable as possible to other make
23 # implementations, I have to face the fact after hours
24 # that this is the most portable way to achieve what
25 # I want and that the alternatives are depressing and
29 $(SH) $(srcdir)/produce_html.sh
31 htmldocdir = $(datadir)/doc/gnunet/manhtml/
32 .PHONY: man-html-install
34 @mkdir -p $(htmldocdir)
35 @mv $(srcdir)/*.html $(htmldocdir)
37 @rm $(htmldocdir)/*.html
50 gnunet-conversation.1 \
51 gnunet-conversation-test.1 \
60 gnunet-gns-proxy-setup-ca.1 \
65 gnunet-namestore-fcfsd.1 \
76 gnunet-scalarproduct.1 \
80 gnunet-testbed-profiler.1 \
81 gnunet-testing-run-service.1 \
84 gnunet-transport-certificate-creation.1 \
90 if TEXI2MDOC_GENERATION
91 man_MANS += gnunet-c-tutorial.7 gnunet-documentation.7
94 EXTRA_DIST = ${man_MANS} \