--- po/Makefile.orig 2014-07-05 00:12:52.864252821 +0800 +++ po/Makefile 2014-07-05 00:13:07.164234705 +0800 @@ -51,9 +51,9 @@ update-po: build-po msgmerge ${LANG}.po ${GETTEXT_PACKAGE}.pot -o ${LANG}.po install: - install -d -m 755 ${PACKAGE_LOCALE_DIR}/${LANG}/LC_MESSAGES + install -d -m 755 $(DESTDIR)${PACKAGE_LOCALE_DIR}/${LANG}/LC_MESSAGES install -c -m 644 ${LANG}.gmo \ - ${PACKAGE_LOCALE_DIR}/${LANG}/LC_MESSAGES/${GETTEXT_PACKAGE}.mo + $(DESTDIR)${PACKAGE_LOCALE_DIR}/${LANG}/LC_MESSAGES/${GETTEXT_PACKAGE}.mo clean: rm -f ${LANG}.gmo