shithub: sox

ref: 15e26a81a420c709767daebc0373ca0137f6fcd5
dir: /Makefile.am/

View raw version
## Process this file with automake to produce Makefile.in

ACLOCAL_AMFLAGS = -I m4

if INTERNAL_LUA
  MAYBE_LUA = lua
endif

SUBDIRS = $(MAYBE_LUA) src

# man pages are not considered to be sources, so need to add "dist_"
# prefix to ensure they are added to the distribution.
dist_man_MANS = sox.1 soxexam.1 play.1 libst.3
dist_pkgdata_DATA = sox.txt soxexam.txt

# Rule for making plain text man pages
%.txt: %.1
	tbl $(srcdir)/$< | nroff -man -Tascii | col -b > $@

# Automatically update libtool script if it gets out-of-date
libtool: $(LIBTOOL_DEPS)
	$(SHELL) ./config.status --recheck