mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 20:38:10 +02:00
build: substitute config directory in Makefile
The autoconf substitutions should be expanded in Makefiles and shell scripts
only, does not work well in XML.
Fixes: 3e0b590e10
This commit is contained in:
parent
3e0b590e10
commit
90683fcb3a
2 changed files with 9 additions and 2 deletions
|
|
@ -1071,7 +1071,6 @@ initscript/linexa/networkmanager
|
||||||
introspection/Makefile
|
introspection/Makefile
|
||||||
introspection/all.xml
|
introspection/all.xml
|
||||||
man/Makefile
|
man/Makefile
|
||||||
man/NetworkManager.conf.xml
|
|
||||||
man/nm-system-settings.conf.5
|
man/nm-system-settings.conf.5
|
||||||
man/nm-online.1
|
man/nm-online.1
|
||||||
man/nmcli.1
|
man/nmcli.1
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,15 @@ if ENABLE_GTK_DOC
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
CLEANFILES += NetworkManager.conf.xml
|
||||||
|
NetworkManager.conf.xml: $(srcdir)/NetworkManager.conf.xml.in
|
||||||
|
$(AM_V_GEN) sed \
|
||||||
|
-e 's|[@]NM_CONFIG_DEFAULT_AUTH_POLKIT_TEXT[@]|$(NM_CONFIG_DEFAULT_AUTH_POLKIT_TEXT)|g' \
|
||||||
|
-e 's|[@]NM_CONFIG_KEYFILE_PATH_DEFAULT[@]|$(nmconfdir)/conf.d|g' \
|
||||||
|
-e 's|[@]NM_CONFIG_LOGGING_BACKEND_DEFAULT_TEXT[@]|$(NM_CONFIG_LOGGING_BACKEND_DEFAULT_TEXT)|g' \
|
||||||
|
-e 's|[@]NM_CONFIG_DEFAULT_LOGGING_AUDIT_TEXT[@]|$(NM_CONFIG_DEFAULT_LOGGING_AUDIT_TEXT)|g' \
|
||||||
|
$< >$@
|
||||||
|
|
||||||
if BUILD_SETTING_DOCS
|
if BUILD_SETTING_DOCS
|
||||||
|
|
||||||
nm-settings.xml: nm-settings.xsl $(top_builddir)/libnm/nm-setting-docs.xml
|
nm-settings.xml: nm-settings.xsl $(top_builddir)/libnm/nm-setting-docs.xml
|
||||||
|
|
@ -109,4 +118,3 @@ man_MANS += \
|
||||||
$(docbook_autogenerated_man_pages)
|
$(docbook_autogenerated_man_pages)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue