# Makefile for `wget' utility
-# Copyright (C) 1995, 1996, 1997, 2007 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
info_TEXINFOS = wget.texi
wget_TEXINFOS = fdl.texi sample.wgetrc.munged_for_texi_inclusion
-EXTRA_DIST = README.maint sample.wgetrc $(SAMPLERCTEXI) \
+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@" $? > $@
# 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 \