diff options
| author | Peng Wu <alexepico@gmail.com> | 2024-12-10 16:12:31 +0800 |
|---|---|---|
| committer | Peng Wu <alexepico@gmail.com> | 2024-12-13 10:27:45 +0800 |
| commit | d92cc93e9b56fce21df9574bdb67139bb1acff4e (patch) | |
| tree | 03e8b04aba08f410b0f1a4a791d35851b3cb6c9c | |
| parent | f83bad19822b4e0a53bd8c0c27be94256d34425f (diff) | |
Update Makefile.am
| -rw-r--r-- | setup/Makefile.am | 1 | ||||
| -rw-r--r-- | src/Makefile.am | 14 |
2 files changed, 7 insertions, 8 deletions
diff --git a/setup/Makefile.am b/setup/Makefile.am index 411a0dc..d14e62e 100644 --- a/setup/Makefile.am +++ b/setup/Makefile.am @@ -21,6 +21,7 @@ setup_libpinyin_PYTHON = \ main2.py \ config.py \ dicttreeview.py \ + enginefile.py \ shortcuteditor.py \ keyboardshortcut.py \ ibus-libpinyin-preferences.ui \ diff --git a/src/Makefile.am b/src/Makefile.am index 7788fbf..9a822b9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -80,6 +80,7 @@ ibus_engine_libpinyin_h_sources = \ PYPSuggestionCandidates.h \ PYPEmojiTable.h \ PYPEmojiCandidates.h \ + PYXMLUtil.h \ $(NULL) ibus_engine_libpinyin_c_sources += \ @@ -97,6 +98,7 @@ ibus_engine_libpinyin_c_sources += \ PYPSuggestionEditor.cc \ PYPSuggestionCandidates.cc \ PYPEmojiCandidates.cc \ + PYXMLUtil.cc \ $(NULL) @@ -228,7 +230,7 @@ componentdir = @datadir@/ibus/component engine_DATA = \ default.xml \ $(NULL) -enginedir = @pkgdatadir@ +enginedir = ${pkgdatadir} EXTRA_DIST = \ libpinyin.inputmethod.xml.in \ @@ -256,13 +258,9 @@ update-simptrad-table: $(MAKE) PYSimpTradConverterTable.h %.xml: %.inputmethod.xml.in - $(AM_V_GEN) \ - ( \ - libexecdir=${libexecdir}; \ - pkgdatadir=${pkgdatadir}; \ - s=`cat $<`; \ - eval "echo \"$${s}\""; \ - ) > $@ + sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|g" \ + -e "s|\@PKGDATADIR\@|$(pkgdatadir)|g" \ + $< > $@ test: ibus-engine-libpinyin $(ENV) \ |
