tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

commit ced2e5fcb8e279fa83f2e19476803468404fa241
parent bbb290c81a30fdf5f285a0b8d01a6c2338206791
Author: Jaromil <jaromil@dyne.org>
Date:   Sun, 16 Nov 2014 14:04:05 +0100

fixes to Makefiles informed by issue #154

Diffstat:
MMakefile | 2+-
Mextras/po/Makefile | 11++++++-----
2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,6 +1,6 @@ PROG = tomb PREFIX ?= /usr/local -MANDIR ?= /usr/share/man +MANDIR ?= ${PREFIX}/share/man all: @echo diff --git a/extras/po/Makefile b/extras/po/Makefile @@ -1,4 +1,5 @@ -LOCALEDIR ?= /usr/share/locale +PREFIX ?= /usr/local +LOCALEDIR ?= ${PREFIX}/share/locale TOMBFILE = LC_MESSAGES/tomb.mo all: @@ -8,10 +9,10 @@ all: .PHONY: install install: es.mo ru.mo fr.mo de.mo - @install -Dm644 es.mo ${LOCALEDIR}/es/${TOMBFILE} - @install -Dm644 ru.mo ${LOCALEDIR}/ru/${TOMBFILE} - @install -Dm644 fr.mo ${LOCALEDIR}/fr/${TOMBFILE} - @install -Dm644 de.mo ${LOCALEDIR}/de/${TOMBFILE} + install -Dm644 es.mo ${DESTDIR}${LOCALEDIR}/es_ES/${TOMBFILE} + install -Dm644 ru.mo ${DESTDIR}${LOCALEDIR}/ru_RU/${TOMBFILE} + install -Dm644 fr.mo ${DESTDIR}${LOCALEDIR}/fr_FR/${TOMBFILE} + install -Dm644 de.mo ${DESTDIR}${LOCALEDIR}/de_DE/${TOMBFILE} @echo "Translations installed." %.mo: %.po