372f2dab85
C char is unsigned. Summary of changes: * Addition of much more data on the elements * Rewritten to use gtk2 * Internationalisation support through gettext added * Many bug fixes
40 lines
964 B
Text
40 lines
964 B
Text
$NetBSD: patch-ab,v 1.1 2003/05/10 01:31:26 jtb Exp $
|
|
|
|
--- po/Makefile.orig
|
|
+++ po/Makefile
|
|
@@ -3,23 +3,23 @@
|
|
PACKAGE ?= gperiodic
|
|
CWD = po
|
|
MSGFMT = msgfmt
|
|
-SUB_DIRS =
|
|
+SUB_DIRS =
|
|
FILES_PO:=$(wildcard *.po)
|
|
FILES_MO:=$(FILES_PO:.po=.mo)
|
|
|
|
-LOCALEDIR ?= /usr/share/locale
|
|
-MSGFMT_OPT ?= -f -v -o
|
|
+LOCALEDIR ?= $(PREFIX)/$(PKGLOCALEDIR)/locale
|
|
+MSGFMT_OPT ?= -f -o
|
|
|
|
ifeq ($(enable_nls),1)
|
|
all: mo-files
|
|
|
|
mo-files: $(FILES_MO)
|
|
|
|
-install:
|
|
+install:
|
|
$(MAKE) all
|
|
- for f in $(FILES_MO) ; do mkdir -p \
|
|
- $(INSTALL_PREFIX)$(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES ; \
|
|
- cp $$f $(INSTALL_PREFIX)$(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES/$(PACKAGE).mo ; done
|
|
+ for f in $(FILES_MO) ; do $(BSD_INSTALL_DATA_DIR) \
|
|
+ $(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES ; \
|
|
+ $(BSD_INSTALL_DATA) $$f $(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES/$(PACKAGE).mo ; done
|
|
|
|
%.mo: %.po
|
|
$(MSGFMT) $(MSGFMT_OPT) $@ $<
|
|
@@ -34,4 +34,3 @@
|
|
|
|
clean:
|
|
$(RM) $(FILES_MO)
|
|
-
|