Browse Source

Fixing configuration errors

Héctor García 3 years ago
parent
commit
1fceec6827
3 changed files with 9 additions and 6 deletions
  1. 5 5
      Makefile.am
  2. 3 0
      configure.ac
  3. 1 1
      po/Makefile.in.in

+ 5 - 5
Makefile.am

@@ -36,10 +36,10 @@ force-update-gmo: check-gettext
 	touch po/*.po
 	cd po && $(MAKE) $(AM_MAKEFLAGS) update-gmo
 
-force-update-gmo-%: check-gettext
-	@language=`echo $@ | sed s/force-update-gmo-//` ; \
-    if test ! -f po/$$language.po ; then echo "file po/$$language.po does not exist" ; exit 1 ; fi ; \
-    touch po/$$language.po ; \
-    cd po && $(MAKE) $(AM_MAKEFLAGS) update-gmo
+#force-update-gmo-%: check-gettext
+#	@language=`echo $@ | sed s/force-update-gmo-//` ; \
+#    if test ! -f po/$$language.po ; then echo "file po/$$language.po does not exist" ; exit 1 ; fi ; \
+#    touch po/$$language.po ; \
+#    cd po && $(MAKE) $(AM_MAKEFLAGS) update-gmo
 
 .PHONY: check-gettext update-po update-gmo force-update-gmo

+ 3 - 0
configure.ac

@@ -3,6 +3,9 @@ AM_CONFIG_HEADER([config.h])
 AM_INIT_AUTOMAKE
 AM_GNU_GETTEXT([external])
 
+AC_SUBST([GETTEXT_PACKAGE], [mssh])
+AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Define to the gettext package name.])
+
 AC_PROG_CC
 
 PKG_CHECK_MODULES(MSSH, [gtk+-3.0 vte-2.90 gconf-2.0])

+ 1 - 1
po/Makefile.in.in

@@ -63,7 +63,7 @@ POTFILES = \
 
 CATALOGS = @CATALOGS@
 CATOBJEXT = @CATOBJEXT@
-INSTOBJEXT = @INSTOBJEXT@
+INSTOBJEXT = .mo
 
 .SUFFIXES:
 .SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat