Patch to handle
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@167 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
7dc14e81d7
commit
81b1eea10f
|
@ -5,6 +5,9 @@ CVS code
|
||||||
- nano.c:
|
- nano.c:
|
||||||
main()
|
main()
|
||||||
- Changed tabsize long arg to actually accept an argument *sigh*.
|
- Changed tabsize long arg to actually accept an argument *sigh*.
|
||||||
|
- po/Makefile.in.in:
|
||||||
|
- Patch to handle $DESTDIR (orig by Dan Harnett contributed by
|
||||||
|
Christian Weisgerber)
|
||||||
|
|
||||||
nano-0.9.15 - 08/03/2000
|
nano-0.9.15 - 08/03/2000
|
||||||
- Changed edit_update call to take arguments TOP, CENTER or BOTTOM.
|
- Changed edit_update call to take arguments TOP, CENTER or BOTTOM.
|
||||||
|
|
|
@ -111,9 +111,9 @@ install-data: install-data-@USE_NLS@
|
||||||
install-data-no: all
|
install-data-no: all
|
||||||
install-data-yes: all
|
install-data-yes: all
|
||||||
if test -r "$(MKINSTALLDIRS)"; then \
|
if test -r "$(MKINSTALLDIRS)"; then \
|
||||||
$(MKINSTALLDIRS) $(datadir); \
|
$(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
|
||||||
else \
|
else \
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
|
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
|
||||||
fi
|
fi
|
||||||
@catalogs='$(CATALOGS)'; \
|
@catalogs='$(CATALOGS)'; \
|
||||||
for cat in $$catalogs; do \
|
for cat in $$catalogs; do \
|
||||||
|
@ -125,27 +125,30 @@ install-data-yes: all
|
||||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||||
dir=$$destdir/$$lang/LC_MESSAGES; \
|
dir=$$destdir/$$lang/LC_MESSAGES; \
|
||||||
if test -r "$(MKINSTALLDIRS)"; then \
|
if test -r "$(MKINSTALLDIRS)"; then \
|
||||||
$(MKINSTALLDIRS) $$dir; \
|
$(MKINSTALLDIRS) $(DESTDIR)$$dir; \
|
||||||
else \
|
else \
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \
|
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$$dir; \
|
||||||
fi; \
|
fi; \
|
||||||
if test -r $$cat; then \
|
if test -r $$cat; then \
|
||||||
$(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
|
$(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT); \
|
||||||
echo "installing $$cat as $$dir/$(PACKAGE)$(INSTOBJEXT)"; \
|
echo "installing $$cat as" \
|
||||||
|
"$(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT)"; \
|
||||||
else \
|
else \
|
||||||
$(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
|
$(INSTALL_DATA) $(srcdir)/$$cat \
|
||||||
|
$(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT); \
|
||||||
echo "installing $(srcdir)/$$cat as" \
|
echo "installing $(srcdir)/$$cat as" \
|
||||||
"$$dir/$(PACKAGE)$(INSTOBJEXT)"; \
|
"$(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT)"; \
|
||||||
fi; \
|
fi; \
|
||||||
if test -r $$cat.m; then \
|
if test -r $$cat.m; then \
|
||||||
$(INSTALL_DATA) $$cat.m $$dir/$(PACKAGE)$(INSTOBJEXT).m; \
|
$(INSTALL_DATA) $$cat.m $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||||
echo "installing $$cat.m as $$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
|
echo "installing $$cat.m as" \
|
||||||
|
"$(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
|
||||||
else \
|
else \
|
||||||
if test -r $(srcdir)/$$cat.m ; then \
|
if test -r $(srcdir)/$$cat.m ; then \
|
||||||
$(INSTALL_DATA) $(srcdir)/$$cat.m \
|
$(INSTALL_DATA) $(srcdir)/$$cat.m \
|
||||||
$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
|
$(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||||
echo "installing $(srcdir)/$$cat as" \
|
echo "installing $(srcdir)/$$cat as" \
|
||||||
"$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
|
"$(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
|
||||||
else \
|
else \
|
||||||
true; \
|
true; \
|
||||||
fi; \
|
fi; \
|
||||||
|
@ -153,12 +156,12 @@ install-data-yes: all
|
||||||
done
|
done
|
||||||
if test "$(PACKAGE)" = "gettext"; then \
|
if test "$(PACKAGE)" = "gettext"; then \
|
||||||
if test -r "$(MKINSTALLDIRS)"; then \
|
if test -r "$(MKINSTALLDIRS)"; then \
|
||||||
$(MKINSTALLDIRS) $(gettextsrcdir); \
|
$(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
|
||||||
else \
|
else \
|
||||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \
|
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \
|
||||||
fi; \
|
fi; \
|
||||||
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \
|
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \
|
||||||
$(gettextsrcdir)/Makefile.in.in; \
|
$(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
|
||||||
else \
|
else \
|
||||||
: ; \
|
: ; \
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue