2000-07-22 22:37:11 -04:00
|
|
|
--- po-script-fu/Makefile.in.in.orig Tue Jun 13 13:58:32 2000
|
|
|
|
+++ po-script-fu/Makefile.in.in Sat Jul 22 15:33:14 2000
|
2000-05-21 16:01:01 -04:00
|
|
|
@@ -118,9 +118,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 \
|
|
|
|
@@ -130,7 +130,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 \
|
2000-07-22 22:37:11 -04:00
|
|
|
@@ -160,12 +160,12 @@
|
2000-05-21 16:01:01 -04:00
|
|
|
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 \
|
2000-07-22 22:37:11 -04:00
|
|
|
- $(gettextsrcdir)/Makefile.in.in; \
|
|
|
|
+ $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
|
|
|
|
else \
|
|
|
|
: ; \
|
|
|
|
fi
|
|
|
|
@@ -178,12 +178,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
|
|
|
|
|