summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 6c81c83bd406346cc4014d799734cb49733fe119 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
bin_PROGRAMS = pa-sink-ctl
pa_sink_ctl_SOURCES = interface.c command.c config.c pa-sink-ctl.c

AM_CFLAGS = $(GCC_CFLAGS)
AM_CPPFLAGS = $(PULSE_CFLAGS) $(PULSE_MAINLOOP_CFLAGS) $(GLIB_CFLAGS) \
	      -include $(top_builddir)/config.h
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

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 $<