misc/po Makefile: make it working with relative DESTDIR paths

This commit is contained in:
Fabio Erculiani
2009-04-01 21:54:22 +02:00
parent 96f2e6edf4
commit 03fbda0f79
+3 -3
View File
@@ -62,10 +62,10 @@ install: all
l=`basename $$n .po`; \
mo=$$l.mo; \
if [ ! -f $$mo ]; then continue; fi; \
$(INSTALL) -m 755 -d $(PREFIX)/$(INSTALLNLSDIR)/$$l; \
$(INSTALL) -m 755 -d $(PREFIX)/$(INSTALLNLSDIR)/$$l/LC_MESSAGES; \
$(INSTALL) -m 755 -d /$(PREFIX)/$(INSTALLNLSDIR)/$$l; \
$(INSTALL) -m 755 -d /$(PREFIX)/$(INSTALLNLSDIR)/$$l/LC_MESSAGES; \
$(INSTALL) -m 644 $$mo \
$(PREFIX)/$(INSTALLNLSDIR)/$$l/LC_MESSAGES/$(NLSPACKAGE).mo; \
/$(PREFIX)/$(INSTALLNLSDIR)/$$l/LC_MESSAGES/$(NLSPACKAGE).mo; \
done
%.mo: %.po