alsa-utils/alsaucm/Makefile.am
Jaroslav Kysela e4a9bf9720 alsaucm: add usecase.h to noinst_HEADERS for packaging
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-02-18 20:08:37 +01:00

31 lines
522 B
Makefile

bin_PROGRAMS = \
alsaucm
if USE_RST2MAN
man_MANS = alsaucm.1
endif
alsaucm_SOURCES = usecase.c dump.c
noinst_HEADERS = usecase.h
AM_CPPFLAGS = \
-Wall -I$(top_srcdir)/include
%.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