ref: 9d65fe39edc20dfb1f425ab88dc4b4d123c3beda
dir: /Makefile.am/
## Process this file with automake to produce Makefile.in ACLOCAL_AMFLAGS = -I m4 SUBDIRS = lpc10 libgsm src DIST_SUBDIRS = lpc10 libgsm src RM = rm -f # 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 soxi.1 soxformat.7 libsox.3 EXTRA_DIST = sox.txt soxi.txt soxformat.txt libsox.txt \ CMakeLists.txt sox.pc.in LICENSE.GPL LICENSE.LGPL if HAVE_PKGCONFIG pkgconfigdir = @PKGCONFIGDIR@ pkgconfig_DATA = sox.pc endif play.1 rec.1: sox.1 $(RM) $@ && $(LN_S) $< $@ # Rule for making text man pages .1.txt .3.txt .7.txt: tbl $(srcdir)/$< | nroff -man | col -b > $@ DOCTXT = sox.txt soxi.txt soxformat.txt libsox.txt txt: $(DOCTXT) # Rule for making PDF man pages .1.pdf .3.pdf .7.pdf: tbl $(srcdir)/$< | groff -man -Tps | ps2pdf - $@ DOCPDF = sox.pdf soxi.pdf soxformat.pdf libsox.pdf pdf: $(DOCPDF) # Rule for making HTML man pages # # Get rid on unneeded Content-Type, man directory and manpage index in extension. # e.g. ../man1/soxi.1.html becomes ../soxi.html # Return to Main Contents and link to man2html are also modified. FIXHTML = sed '1s,^Content-type.*,,' | \ sed 's,<A HREF="\.\./man[0-9]/\([-a-z]\+\)\.[0-9],<A HREF="\1,g' | \ sed 's,<A HREF="\.\./index\.html">\(Return\ to\ Main\ Contents\),<A HREF=".">\1,' | \ sed 's,<A HREF="/cgi-bin/man/man2html">man2html</A>,<A HREF="http://primates.ximian.com/~flucifredi/man/">man2html</A>,' .1.html .3.html .7.html: man2html -r $(srcdir)/$< | $(FIXHTML) > $@ DOCHTML = sox.html soxi.html soxformat.html libsox.html html: $(DOCHTML) DISTCLEANFILES = $(DOCHTML) $(DOCPDF) $(DOCTXT) install-data-hook: cd $(DESTDIR)$(mandir)/man1 && $(RM) play.1 && $(LN_S) sox.1 play.1 cd $(DESTDIR)$(mandir)/man1 && $(RM) rec.1 && $(LN_S) sox.1 rec.1 cd $(DESTDIR)$(mandir)/man7 && $(RM) soxeffect.7 && $(LN_S) ../man1/sox.1 soxeffect.7 uninstall-hook: $(RM) $(DESTDIR)$(mandir)/man1/play.1 $(RM) $(DESTDIR)$(mandir)/man1/rec.1 $(RM) $(DESTDIR)$(mandir)/man7/soxeffect.7 # Automatically update libtool script if it gets out-of-date libtool: $(LIBTOOL_DEPS) $(SHELL) ./config.status --recheck