X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=doc%2FMakefile.am;h=b90f68b1640fa533cbeff2a8390d376c5d91f218;hp=46c77d9ed0f4776f417b5cf40503ddd879d13e0d;hb=320cfdcb658e8d6556ae9dfd902c2db1db866a6b;hpb=4f3dd6817348433eafde04a3c2946f43364de7ef diff --git a/doc/Makefile.am b/doc/Makefile.am index 46c77d9e..b90f68b1 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,5 +1,6 @@ # Makefile for `wget' utility -# Copyright (C) 1995, 1996, 1997, 2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 1995, 1996, 1997, 2007, 2008, 2009, 2010, 2011 Free +# Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -53,7 +54,7 @@ EXTRA_DIST = sample.wgetrc \ texi2pod.pl wget.pod: $(srcdir)/wget.texi version.texi - $(TEXI2POD) $(srcdir)/wget.texi $@ + $(TEXI2POD) -D VERSION="$(VERSION)" $(srcdir)/wget.texi $@ $(MAN): wget.pod $(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" $? > $@ @@ -83,12 +84,12 @@ uninstall-local: @COMMENT_IF_NO_POD2MAN@uninstall.man # install man page, creating install directory if necessary install.man: $(MAN) - $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man$(manext) + $(mkinstalldirs) $(DESTDIR)$(mandir)/man$(manext) $(INSTALL_DATA) $(MAN) $(DESTDIR)$(mandir)/man$(manext)/$(MAN) # install sample.wgetrc install.wgetrc: $(srcdir)/sample.wgetrc - $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir) + $(mkinstalldirs) $(DESTDIR)$(sysconfdir) @if test -f $(DESTDIR)$(WGETRC); then \ if cmp -s $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC); then echo ""; \ else \