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-tutorial.7: Makefile
12 @texi2mdoc -I../tutorial:../tutorial/chapters ../tutorial/tutorial.texi > gnunet-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-tutorial.7
22 # After I went through the alternatives with the focus
23 # on staying as portable as possible to other make
24 # implementations, I have to face the fact after hours
25 # that this is the most portable way to achieve what
26 # I want and that the alternatives are depressing and
30 $(SH) $(srcdir)/produce_html.sh
32 htmldocdir = $(datadir)/doc/gnunet/manhtml/
33 .PHONY: man-html-install
35 @mkdir -p $(htmldocdir)
36 @mv $(srcdir)/*.html $(htmldocdir)
38 @rm $(htmldocdir)/*.html
52 gnunet-conversation.1 \
53 gnunet-conversation-test.1 \
62 gnunet-gns-proxy-setup-ca.1 \
67 gnunet-namestore-fcfsd.1 \
78 gnunet-scalarproduct.1 \
82 gnunet-testbed-profiler.1 \
83 gnunet-testing-run-service.1 \
86 gnunet-transport-certificate-creation.1 \
92 if TEXI2MDOC_GENERATION
93 man_MANS += gnunet-tutorial.7 gnunet-documentation.7
96 EXTRA_DIST = ${man_MANS} \