CLEANFILES = \
+ ibus-setup-hangul \
config.py \
*.pyc \
$(NULL)
-e 's&@SETUP_PKGDATADIR@&$(pkgdatadir)&g' \
-e 's&@SETUP_PKGLIBDIR@&$(pkglibdir)&g' $< > $@
-ibus-setup-hangul: config.py
+ibus-setup-hangul: ibus-setup-hangul.in config.py Makefile
+ sed -e 's&@SETUP_PKGDATADIR@&$(pkgdatadir)&g' $< > $@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-exec python @prefix@/share/ibus-hangul/setup/main.py $@
+exec python @SETUP_PKGDATADIR@/setup/main.py $@