From 3722dbbcb3bbe889ca9e5ae061aa01f2e9cb29a0 Mon Sep 17 00:00:00 2001 From: Maarten Bosmans Date: Wed, 29 Jun 2011 15:16:09 +0200 Subject: build-sys: Use configure AC_OUTPUT to process config files Don't use sed to replace @variable@ in file.in. --- man/Makefile.am | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'man') diff --git a/man/Makefile.am b/man/Makefile.am index dd228f7d..4f42fe2d 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -15,7 +15,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. -CLEANFILES = \ +DISTCLEANFILES = \ $(noinst_DATA) noinst_DATA = \ @@ -32,11 +32,6 @@ noinst_DATA = \ pulse-client.conf.5.xml \ default.pa.5.xml -%.xml: %.xml.in Makefile - $(AM_V_GEN) sed -e 's,@PA_DEFAULT_CONFIG_DIR\@,$(PA_DEFAULT_CONFIG_DIR),g' \ - -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ - -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ - xmllint: $(noinst_DATA) for f in $(noinst_DATA) ; do \ xmllint --noout --valid "$$f" || exit 1 ; \ @@ -58,7 +53,7 @@ dist_man_MANS = \ pulse-client.conf.5 \ default.pa.5 -CLEANFILES += \ +CLEANFILES = \ $(dist_man_MANS) %: %.xml Makefile -- cgit v1.2.3