58d54e85c2
- needs gcc4
24 lines
1.1 KiB
Plaintext
24 lines
1.1 KiB
Plaintext
$OpenBSD: patch-po_Makefile_in,v 1.1 2008/10/03 14:33:53 ajacoutot Exp $
|
|
--- po/Makefile.in.orig Sun Sep 14 15:07:26 2008
|
|
+++ po/Makefile.in Mon Sep 15 22:03:08 2008
|
|
@@ -250,7 +250,7 @@ SRCFILES = ../src/BFont.c \
|
|
|
|
COPYRIGHT_HOLDER = Freedroid RPG Development Team
|
|
MSGID_BUGS_ADDRESS = freedroid-discussion@lists.sourceforge.net
|
|
-LOCALEDIR = $(DESTDIR)/$(pkgdatadir)/locale
|
|
+LOCALEDIR = $(DESTDIR)/$(datadir)/locale
|
|
EXTRA_DIST = freedroidrpg.pot freedroidrpg_data.pot freedroidrpg_dialogs.pot $(POFILES_SRC) $(POFILES_DAT) $(POFILES_DIA) CMakeLists.txt
|
|
MSGMERGE_OPTIONS = --quiet --update
|
|
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --force-po
|
|
@@ -444,7 +444,9 @@ install-data-local: install-data-local-@USE_NLS@
|
|
install-data-local-no: all-local
|
|
install-data-local-yes: all-local
|
|
for file in $(MOFILES_SRC) $(MOFILES_DAT) $(MOFILES_DIA); do \
|
|
- $(INSTALL_DATA) -D $$file $(LOCALEDIR)/$$file; \
|
|
+ ilang=`echo $$file | sed -e 's,\/.*$$,,g'`; \
|
|
+ mkdir -p -- $(DESTDIR)$(localedir)/$$ilang/LC_MESSAGES; \
|
|
+ $(INSTALL_DATA) $$file $(DESTDIR)$(localedir)/$$ilang/LC_MESSAGES; \
|
|
done;
|
|
|
|
uninstall-local: uninstall-local-@USE_NLS@
|