mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
build-sys: Use configure AC_OUTPUT to process config files
Don't use sed to replace @variable@ in file.in.
This commit is contained in:
parent
e42bc02dc6
commit
3722dbbcb3
3 changed files with 25 additions and 47 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue