This requires substituting the path in from a make rule, since
otherwise you'll get "${exec_prefix}/lib" if the user didn't
explicitly specify --libdir
https://bugzilla.gnome.org/show_bug.cgi?id=640220
atk-adaptor/gtk-3.0/Makefile
po/Makefile.in
schemas/Makefile
-schemas/org.a11y.atspi.gschema.xml
])
AC_OUTPUT
gsettings_SCHEMAS = org.a11y.atspi.gschema.xml
+org.a11y.atspi.gschema.xml: org.a11y.atspi.gschema.xml.in Makefile
+ $(AM_V_GEN) sed -e "s|@libdir[@]|$(libdir)|" $< > $@
+
+CLEANFILES = org.a11y.atspi.gschema.xml
+
@GSETTINGS_RULES@
EXTRA_DIST = \
<schemalist>
<schema id="org.a11y.atspi" path="/a11y/atspi/">
<key name="atk-bridge-location" type="s">
- <default>'@prefix@/lib/gtk-3.0/modules/libatk-bridge.so'</default>
+ <default>'@libdir@/gtk-3.0/modules/libatk-bridge.so'</default>
<summary>Atk-bridge location</summary>
<description>The path to the atk-bridge module; useful for non-GTK applications/toolkits that want to load it.</description>
</key>