use DESTDIR when installing

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24077 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-12-11 04:54:53 +00:00
parent 3fd24a3ac3
commit 3be0e14d73

View File

@@ -41,9 +41,10 @@ install-data-hook:
domain=`echo $$x | sed 's@/.*@@'`; \
lang=`echo $$x | sed 's@.*/\(.*\)\\.mo$$@\1@'`; \
echo "installing lang $$domain $$lang" ; \
$(top_srcdir)/install-sh -d "$(localedir)/$$lang/LC_MESSAGES" ; \
$(top_srcdir)/install-sh -d \
$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES" ; \
$(top_srcdir)/install-sh $(srcdir)/$$x \
"$(localedir)/$$lang/LC_MESSAGES/$$domain.mo" ; \
"$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$$domain.mo" ; \
done
#find . -name '*.po' -or -name '*.pot' -or -name '*.mo' | sed 's/^../ /' | sed 's/$/ \\/'