summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMaarten Bosmans <mkbosmans@gmail.com>2011-06-29 15:16:09 +0200
committerColin Guthrie <colin@mageia.org>2011-06-30 11:54:03 +0100
commit3722dbbcb3bbe889ca9e5ae061aa01f2e9cb29a0 (patch)
tree57a2b8eef03d7435dd9eb529724f566d946054f2 /man
parente42bc02dc6a521e663f1f0511958ee841618bcc7 (diff)
build-sys: Use configure AC_OUTPUT to process config files
Don't use sed to replace @variable@ in file.in.
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am9
1 files changed, 2 insertions, 7 deletions
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