X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=doc%2FMakefile.am;h=b90f68b1640fa533cbeff2a8390d376c5d91f218;hp=74abe7f6582155cdb91d35404c3f956042e7001d;hb=320cfdcb658e8d6556ae9dfd902c2db1db866a6b;hpb=1b4ed7dcb7bdad277a9ee2c5a42b6e70854db802 diff --git a/doc/Makefile.am b/doc/Makefile.am index 74abe7f6..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 @@ -52,8 +53,8 @@ EXTRA_DIST = sample.wgetrc \ $(SAMPLERCTEXI) \ texi2pod.pl -wget.pod: $(srcdir)/wget.texi $(srcdir)/version.texi - $(TEXI2POD) $(srcdir)/wget.texi $@ +wget.pod: $(srcdir)/wget.texi version.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 \