ibus-setup-hangul also should be generated by Make
authorChoe Hwanjin <choe.hwanjin@gmail.com>
Sat, 5 Mar 2011 14:06:36 +0000 (23:06 +0900)
committerChoe Hwanjin <choe.hwanjin@gmail.com>
Sat, 5 Mar 2011 14:06:36 +0000 (23:06 +0900)
configure.ac
setup/Makefile.am
setup/ibus-setup-hangul.in

index f23faba..d37b184 100644 (file)
@@ -83,7 +83,6 @@ ibus-hangul.spec
 src/Makefile
 src/hangul.xml.in
 setup/Makefile
-setup/ibus-setup-hangul
 icons/Makefile
 data/Makefile
 m4/Makefile
index 71f4e46..75ce836 100644 (file)
@@ -40,6 +40,7 @@ hangul_keyboard_list_LDADD = $(HANGUL_LIBS)
 
 
 CLEANFILES = \
+       ibus-setup-hangul \
        config.py \
        *.pyc \
        $(NULL)
@@ -60,4 +61,5 @@ config.py: config.py.in Makefile
            -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' $< > $@
index 68678fa..6b68cdc 100644 (file)
@@ -19,5 +19,5 @@
 # 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 $@