-DPANGO_ENABLE_BACKEND \
-DG_DISABLE_DEPRECATED
-moduledir = ${pkglibdir}/${PANGO_MODULE_VERSION}/modules
-module_LTLIBRARIES = m17n-pango-fc.la
+pkglib_LTLIBRARIES = pango-m17n-fc.la
-m17n_pango_fc_la_SOURCES = m17n-fc.c
-m17n_pango_fc_la_CFLAGS = ${PANGO_XTRA_CFLAGS} ${PANGOFT2_CFLAGS} ${M17N_CLFAGS}
-m17n_pango_fc_la_LDFLAGS = -export-dynamic -avoid-version -module
-m17n_pango_fc_la_LIBADD = ${PANGOFT2_LIBS} ${M17N_LIBS}
+pango_m17n_fc_la_SOURCES = m17n-fc.c
+pango_m17n_fc_la_CFLAGS = ${PANGO_XTRA_CFLAGS} ${PANGOFT2_CFLAGS} ${M17N_CLFAGS}
+pango_m17n_fc_la_LDFLAGS = -export-dynamic -avoid-version -module
+pango_m17n_fc_la_LIBADD = ${PANGOFT2_LIBS} ${M17N_LIBS}
install-data-hook:
- ${PANGO_QUERYMODULES} ${moduledir}/m17n-pango-fc.so \
- > ${moduledir}/pango.modules
+ ${PANGO_QUERYMODULES} ${pkglibdir}/pango-m17n-fc.so \
+ > ${pkglibdir}/pango.modules.m17n
${PANGO_QUERYMODULES} \
| sed -n -e '/pango-basic/p' -e '/pango-hangul/p' \
- >> ${moduledir}/pango.modules
- echo "[Pango]" > ${moduledir}/pangorc
- echo "ModuleFiles = ${moduledir}/pango.modules" >> ${moduledir}/pangorc
+ >> ${pkglibdir}/pango.modules.m17n
+ echo "[Pango]" > ${pkglibdir}/pangorc.m17n
+ echo "ModuleFiles = ${pkglibdir}/pango.modules.m17n" \
+ >> ${pkglibdir}/pangorc.m17n