Mercurial > mxe-octave
annotate src/build-texinfo.mk @ 6518:a8cdb57c6ea6
default-octave: Depend on pcre2 instead of pcre (bug #61542).
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 15 Nov 2022 15:50:29 +0100 |
parents | ab197940fec3 |
children | 4411e47d0244 |
rev | line source |
---|---|
3004 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := build-texinfo | |
5 $(PKG)_IGNORE := | |
6481
ab197940fec3
* src/build-texinfo.mk, src/texinfo.mk: update to v6.8
John Donoghue <john.donoghue@ieee.org>
parents:
5184
diff
changeset
|
6 $(PKG)_VERSION := 6.8 |
ab197940fec3
* src/build-texinfo.mk, src/texinfo.mk: update to v6.8
John Donoghue <john.donoghue@ieee.org>
parents:
5184
diff
changeset
|
7 $(PKG)_CHECKSUM := 37f5ff5f748fb11bcbd57b82f3fdb5c365e82d61 |
4123 | 8 $(PKG)_SUBDIR := texinfo-$($(PKG)_VERSION) |
3493 | 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) |
4669
4d71c8736c75
build-texinfo: depend on build-perl
John W. Eaton <jwe@octave.org>
parents:
4553
diff
changeset
|
11 $(PKG)_DEPS := build-perl |
3004 | 12 |
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 | 18 endef |
19 | |
20 define $(PKG)_BUILD | |
21 mkdir '$(1).build' | |
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 | 25 $(MAKE) -C '$(1).build/gnulib/lib' -j '$(JOBS)' |
26 $(MAKE) -C '$(1).build/util' -j '$(JOBS)' | |
4123 | 27 $(MAKE) -C '$(1).build/tp' -j '$(JOBS)' |
3493 | 28 |
4677
feadde11e10f
build-texinfo, texinfo: use "#! /usr/bin/env perl" in scripts
John W. Eaton <jwe@octave.org>
parents:
4669
diff
changeset
|
29 $(SED) -i '1 s|^.*$$|#! /usr/bin/env perl|' '$(1).build/tp/texi2any' '$(1).build/util/txixml2texi' |
feadde11e10f
build-texinfo, texinfo: use "#! /usr/bin/env perl" in scripts
John W. Eaton <jwe@octave.org>
parents:
4669
diff
changeset
|
30 |
3493 | 31 $(MAKE) -C '$(1).build/gnulib/lib' -j 1 install DESTDIR='$(3)' |
32 $(MAKE) -C '$(1).build/util' -j 1 install DESTDIR='$(3)' | |
4123 | 33 $(MAKE) -C '$(1).build/tp' -j 1 install DESTDIR='$(3)' |
3004 | 34 endef |