alsa-utils/alsaucm/Makefile.am
Jaroslav Kysela 71558a41b0 alsatplg: add man file
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2018-10-09 10:53:32 +02:00

31 lines
513 B
Makefile

bin_PROGRAMS = \
alsaucm
if USE_RST2MAN
man_MANS = alsaucm.1
endif
alsaucm_SOURCES = usecase.c
AM_CPPFLAGS = \
-Wall -I$(top_srcdir)/include
alsaucm_LDADD = -lasound
%.1: %.rst
rst2man $< > $@
udevrules_DATA = \
89-alsa-ucm.rules
edit = \
$(SED) -r -e 's,@bindir\@,$(bindir),g' \
-e 's,@mydatadir\@,$(mydatadir),g' \
< $< > $@ || rm $@
89-alsa-ucm.rules: 89-alsa-ucm.rules.in
$(edit)
EXTRA_DIST = alsaucm.rst 89-alsa-ucm.rules.in
CLEANFILES = alsaucm.1 89-alsa-ucm.rules