annotate src/build-texinfo.mk @ 4545:0e56fe2d2ef5

Makefile.in: add update-build-tools target * Makefile.in: add update-build-tools target * src/build-autoconf.mk, src/build-automake.mk, src/build-bison.mk, src/build-gawk.mk, src/build-gcc.mk, src/build-gettext.mk, src/build-gperf.mk, src/build-m4.mk, src/build-texinfo.mk, src/build-libtool.mk : update PKG_UPDATE for getting latest version from gnu.org * src/build-cmake.mk, src/build-flex.mk, src/build-lzip.mk, src/build-pkg-config.mk, src/pkg-config.mk, src/build-scons.mk : add implemented PKG_UPDATE macro
author John Donoghue <john.donoghue@ieee.org>
date Thu, 23 Nov 2017 12:05:29 -0500
parents 28a83a566666
children b25cf2abab4a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3004
b994e523cfac include texinfo in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
b994e523cfac include texinfo in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
b994e523cfac include texinfo in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
b994e523cfac include texinfo in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := build-texinfo
b994e523cfac include texinfo in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3493
diff changeset
6 $(PKG)_VERSION := 6.0
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3493
diff changeset
7 $(PKG)_CHECKSUM := 110d45256c4219c88dc2fdb8c9c1a20749e4e7c5
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3493
diff changeset
8 $(PKG)_SUBDIR := texinfo-$($(PKG)_VERSION)
3493
8d5ea2642115 back down to texinfo 4.3
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
9 $(PKG)_FILE := texinfo-$($(PKG)_VERSION).tar.gz
3007
229ab69bba2d use texinfo 4.13a for build-texinfo package
John W. Eaton <jwe@octave.org>
parents: 3004
diff changeset
10 $(PKG)_URL := ftp://ftp.gnu.org/gnu/texinfo/$($(PKG)_FILE)
3004
b994e523cfac include texinfo in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 $(PKG)_DEPS :=
b994e523cfac include texinfo in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
b994e523cfac include texinfo in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 define $(PKG)_UPDATE
4545
0e56fe2d2ef5 Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents: 4123
diff changeset
14 $(WGET) -q -O- 'http://ftp.gnu.org/gnu/texinfo/?C=M;O=D' | \
0e56fe2d2ef5 Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents: 4123
diff changeset
15 $(SED) -n 's,.*<a href="texinfo-\([0-9\.]*\)\.tar.*,\1,p' | \
0e56fe2d2ef5 Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents: 4123
diff changeset
16 $(SORT) -V |
0e56fe2d2ef5 Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents: 4123
diff changeset
17 tail -1
3004
b994e523cfac include texinfo in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 endef
b994e523cfac include texinfo in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19
b994e523cfac include texinfo in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 define $(PKG)_BUILD
b994e523cfac include texinfo in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 mkdir '$(1).build'
b994e523cfac include texinfo in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 cd '$(1).build' && '$(1)/configure' \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 3008
diff changeset
23 --prefix='$(BUILD_TOOLS_PREFIX)'
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 3008
diff changeset
24
3493
8d5ea2642115 back down to texinfo 4.3
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
25 $(MAKE) -C '$(1).build/gnulib/lib' -j '$(JOBS)'
8d5ea2642115 back down to texinfo 4.3
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
26 $(MAKE) -C '$(1).build/util' -j '$(JOBS)'
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3493
diff changeset
27 $(MAKE) -C '$(1).build/tp' -j '$(JOBS)'
3493
8d5ea2642115 back down to texinfo 4.3
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
28
8d5ea2642115 back down to texinfo 4.3
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
29 $(MAKE) -C '$(1).build/gnulib/lib' -j 1 install DESTDIR='$(3)'
8d5ea2642115 back down to texinfo 4.3
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
30 $(MAKE) -C '$(1).build/util' -j 1 install DESTDIR='$(3)'
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3493
diff changeset
31 $(MAKE) -C '$(1).build/tp' -j 1 install DESTDIR='$(3)'
3004
b994e523cfac include texinfo in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 endef