1 diff -ur wget-1.5.3.old/doc/Makefile.in wget-1.5.3/doc/Makefile.in
2 --- wget-1.5.3.old/doc/Makefile.in Wed Jun 23 15:09:55 1999
3 +++ wget-1.5.3/doc/Makefile.in Wed Jun 23 17:14:23 1999
6 # install info pages, creating install directory if necessary
7 install.info: wget.info
8 - $(top_srcdir)/mkinstalldirs $(infodir)
9 + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(infodir)
10 -for file in $(srcdir)/wget.info $(srcdir)/wget.info-*[0-9]; do \
11 - test -f "$$file" && $(INSTALL_DATA) $$file $(infodir) ; \
12 + test -f "$$file" && $(INSTALL_DATA) $$file $(DESTDIR)$(infodir) ; \
15 # install man page, creating install directory if necessary
17 - $(top_srcdir)/mkinstalldirs $(mandir)/man$(manext)
18 - $(INSTALL_DATA) $(srcdir)/$(MAN) $(mandir)/man$(manext)/$(MAN)
19 + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man$(manext)
20 + $(INSTALL_DATA) $(srcdir)/$(MAN) $(DESTDIR)$(mandir)/man$(manext)/$(MAN)
22 # install sample.wgetrc
24 - $(top_srcdir)/mkinstalldirs $(sysconfdir)
25 - @if test -f $(WGETRC); then \
26 - if cmp -s $(srcdir)/sample.wgetrc $(WGETRC); then echo ""; \
27 + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir)
28 + @if test -f $(DESTDIR)$(WGETRC); then \
29 + if cmp -s $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC); then echo ""; \
31 - echo ' $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(WGETRC).new'; \
32 - $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(WGETRC).new; \
33 - echo "WARNING: File \`$(WGETRC)' already exists and is spared."; \
34 - echo " You might want to consider \`$(WGETRC).new',"; \
35 - echo " and merge both into \`$(WGETRC)', for the best."; \
36 + echo ' $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC).new'; \
37 + $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC).new; \
38 + echo "WARNING: File \`$(DESTDIR)$(WGETRC)' already exists and is spared."; \
39 + echo " You might want to consider \`$(DESTDIR)$(WGETRC).new',"; \
40 + echo " and merge both into \`$(DESTDIR)$(WGETRC)', for the best."; \
43 - $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(WGETRC); \
44 + $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC); \
47 # uninstall info pages
49 - $(RM) $(infodir)/wget.info*
50 + $(RM) $(DESTDIR)$(infodir)/wget.info*
54 - $(RM) $(mandir)/man$(manext)/$(MAN)
55 + $(RM) $(DESTDIR)$(mandir)/man$(manext)/$(MAN)
58 # Dependencies for cleanup
59 diff -ur wget-1.5.3.old/doc/Makefile.in~ wget-1.5.3/doc/Makefile.in~
60 --- wget-1.5.3.old/doc/Makefile.in~ Sun May 24 04:40:42 1998
61 +++ wget-1.5.3/doc/Makefile.in~ Wed Jun 23 15:09:55 1999
65 # install all the documentation
66 -install: install.info install.wgetrc # install.man
67 +install: install.info install.wgetrc install.man
69 # uninstall all the documentation
70 uninstall: uninstall.info # uninstall.man
74 # install man page, creating install directory if necessary
76 -# $(top_srcdir)/mkinstalldirs $(mandir)/man$(manext)
77 -# $(INSTALL_DATA) $(srcdir)/$(MAN) $(mandir)/man$(manext)/$(MAN)
79 + $(top_srcdir)/mkinstalldirs $(mandir)/man$(manext)
80 + $(INSTALL_DATA) $(srcdir)/$(MAN) $(mandir)/man$(manext)/$(MAN)
82 # install sample.wgetrc
85 $(RM) $(infodir)/wget.info*
89 -# $(RM) $(mandir)/man$(manext)/$(MAN)
91 + $(RM) $(mandir)/man$(manext)/$(MAN)
94 # Dependencies for cleanup
95 diff -ur wget-1.5.3.old/po/Makefile.in.in wget-1.5.3/po/Makefile.in.in
96 --- wget-1.5.3.old/po/Makefile.in.in Tue Mar 17 02:54:29 1998
97 +++ wget-1.5.3/po/Makefile.in.in Wed Jun 23 17:17:20 1999
99 for cat in $$catalogs; do \
100 cat=`basename $$cat`; \
102 - *.gmo) destdir=$(gnulocaledir);; \
103 - *) destdir=$(localedir);; \
104 + *.gmo) destdir=$(DESTDIR)$(gnulocaledir);; \
105 + *) destdir=$(DESTDIR)$(localedir);; \
107 lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
108 dir=$$destdir/$$lang/LC_MESSAGES; \
109 Only in wget-1.5.3/po: Makefile.in.in~
110 diff -ur wget-1.5.3.old/src/Makefile.in wget-1.5.3/src/Makefile.in
111 --- wget-1.5.3.old/src/Makefile.in Tue Jun 23 23:29:18 1998
112 +++ wget-1.5.3/src/Makefile.in Wed Jun 23 15:18:46 1999
113 @@ -100,11 +100,11 @@
114 uninstall: uninstall.bin
116 install.bin: wget$(exeext)
117 - $(top_srcdir)/mkinstalldirs $(bindir)
118 - $(INSTALL_PROGRAM) wget$(exeext) $(bindir)/wget$(exeext)
119 + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
120 + $(INSTALL_PROGRAM) wget$(exeext) $(DESTDIR)$(bindir)/wget$(exeext)
123 - $(RM) $(bindir)/wget$(exeext)
124 + $(RM) $(DESTDIR)$(bindir)/wget$(exeext)
127 # Dependencies for cleanup
128 Only in wget-1.5.3/src: Makefile.in~