From b88c86f1e7d075b9331feebf6d44a3731ea9354f Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 5 Jan 2012 01:16:26 +0100 Subject: Add a manpage using asciidoc --- src/Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 4401bfa..3579dc0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -12,3 +12,12 @@ AM_CPPFLAGS = $(PULSE_CFLAGS) $(PULSE_MAINLOOP_CFLAGS) $(GLIB_CFLAGS) \ pa_sink_ctl_LDADD = $(GLIB_LIBS) $(PULSE_LIBS) $(PULSE_MAINLOOP_LIBS) $(CURSES_LIBS) noinst_HEADERS = interface.h command.h config.h pa-sink-ctl.h ctl.h unix_signal.h + +dist_man_MANS = pa-sink-ctl.1 +EXTRA_DIST = pa-sink-ctl.1.txt + +%: %.txt + a2x -f manpage $< + +%.html: %.txt + a2x -f xhtml -d manpage --stylesheet=pa-sink-ctl-manpage.css $< -- cgit