67 lines
2.3 KiB
Plaintext
67 lines
2.3 KiB
Plaintext
--- po/Makefile.in.in.orig Thu Jan 18 10:10:46 2001
|
|
+++ po/Makefile.in.in Thu Jan 18 10:20:20 2001
|
|
@@ -69,7 +69,7 @@
|
|
$(MSGFMT) -o $@ $<
|
|
|
|
.po.gmo:
|
|
- file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
|
|
+ file=`echo $* | sed 's,.*/,,'`.gmo \
|
|
&& rm -f $$file && $(GMSGFMT) -o $$file $<
|
|
|
|
.po.cat:
|
|
@@ -111,9 +111,9 @@
|
|
install-data-no: all
|
|
install-data-yes: all
|
|
if test -r "$(MKINSTALLDIRS)"; then \
|
|
- $(MKINSTALLDIRS) $(datadir); \
|
|
+ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
|
|
else \
|
|
- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
|
|
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
|
|
fi
|
|
@catalogs='$(CATALOGS)'; \
|
|
for cat in $$catalogs; do \
|
|
@@ -123,7 +123,7 @@
|
|
*) destdir=$(localedir);; \
|
|
esac; \
|
|
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
|
- dir=$$destdir/$$lang/LC_MESSAGES; \
|
|
+ dir=$(DESTDIR)$$destdir/$$lang/LC_MESSAGES; \
|
|
if test -r "$(MKINSTALLDIRS)"; then \
|
|
$(MKINSTALLDIRS) $$dir; \
|
|
else \
|
|
@@ -153,12 +153,12 @@
|
|
done
|
|
if test "$(PACKAGE)" = "gettext"; then \
|
|
if test -r "$(MKINSTALLDIRS)"; then \
|
|
- $(MKINSTALLDIRS) $(gettextsrcdir); \
|
|
+ $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
|
|
else \
|
|
- $(SHELL) $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \
|
|
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \
|
|
fi; \
|
|
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \
|
|
- $(gettextsrcdir)/Makefile.in.in; \
|
|
+ $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
|
|
else \
|
|
: ; \
|
|
fi
|
|
@@ -171,12 +171,12 @@
|
|
for cat in $$catalogs; do \
|
|
cat=`basename $$cat`; \
|
|
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
|
- rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
|
- rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
|
- rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
|
- rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
|
+ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
|
+ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
|
+ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
|
+ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
|
done
|
|
- rm -f $(gettextsrcdir)/po-Makefile.in.in
|
|
+ rm -f $(DESTDIR)$(gettextsrcdir)/po-Makefile.in.in
|
|
|
|
check: all
|
|
|