]> git.pld-linux.org Git - packages/wget.git/blob - wget-DESTDIR.patch
removed section */doc/Makefile.in~
[packages/wget.git] / wget-DESTDIR.patch
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
4 @@ -87,39 +87,39 @@
5  
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) ; \
13         done
14  
15  # install man page, creating install directory if necessary
16  install.man:
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)
21  
22  # install sample.wgetrc
23  install.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 ""; \
30              else \
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."; \
41           fi; \
42         else \
43 -         $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(WGETRC); \
44 +         $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC); \
45         fi
46  
47  # uninstall info pages
48  uninstall.info:
49 -       $(RM) $(infodir)/wget.info*
50 +       $(RM) $(DESTDIR)$(infodir)/wget.info*
51  
52  # uninstall man page
53  uninstall.man:
54 -       $(RM) $(mandir)/man$(manext)/$(MAN)
55 +       $(RM) $(DESTDIR)$(mandir)/man$(manext)/$(MAN)
56  
57  #
58  # Dependencies for cleanup
59 diff -ur wget-1.5.3.old/po/Makefile.in.in wget-1.5.3/po/Makefile.in.in
60 --- wget-1.5.3.old/po/Makefile.in.in    Tue Mar 17 02:54:29 1998
61 +++ wget-1.5.3/po/Makefile.in.in        Wed Jun 23 17:17:20 1999
62 @@ -92,8 +92,8 @@
63         for cat in $$catalogs; do \
64           cat=`basename $$cat`; \
65           case "$$cat" in \
66 -           *.gmo) destdir=$(gnulocaledir);; \
67 -           *)     destdir=$(localedir);; \
68 +           *.gmo) destdir=$(DESTDIR)$(gnulocaledir);; \
69 +           *)     destdir=$(DESTDIR)$(localedir);; \
70           esac; \
71           lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
72           dir=$$destdir/$$lang/LC_MESSAGES; \
73 Only in wget-1.5.3/po: Makefile.in.in~
74 diff -ur wget-1.5.3.old/src/Makefile.in wget-1.5.3/src/Makefile.in
75 --- wget-1.5.3.old/src/Makefile.in      Tue Jun 23 23:29:18 1998
76 +++ wget-1.5.3/src/Makefile.in  Wed Jun 23 15:18:46 1999
77 @@ -100,11 +100,11 @@
78  uninstall: uninstall.bin
79  
80  install.bin: wget$(exeext)
81 -       $(top_srcdir)/mkinstalldirs $(bindir)
82 -       $(INSTALL_PROGRAM) wget$(exeext) $(bindir)/wget$(exeext)
83 +       $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
84 +       $(INSTALL_PROGRAM) wget$(exeext) $(DESTDIR)$(bindir)/wget$(exeext)
85  
86  uninstall.bin:
87 -       $(RM) $(bindir)/wget$(exeext)
88 +       $(RM) $(DESTDIR)$(bindir)/wget$(exeext)
89  
90  #
91  # Dependencies for cleanup
92 Only in wget-1.5.3/src: Makefile.in~
This page took 0.068811 seconds and 4 git commands to generate.