annotate src/texinfo.mk @ 3013:bcc26ffe9a0f

use variable for --host and --build configure arguments
author John W. Eaton <jwe@octave.org>
date Sun, 02 Jun 2013 12:40:32 -0400
parents 100e618349f7
children cf6f40cededb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2951
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := texinfo
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_CHECKSUM := a1533cf8e03ea4fa6c443b73f4c85e4da04dead0
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_SUBDIR := $(PKG)-4.13
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_URL := ftp://ftp.gnu.org/gnu/texinfo/$($(PKG)_FILE)
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2951
diff changeset
10 $(PKG)_DEPS := # libgnurx
2951
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 define $(PKG)_UPDATE
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 echo 'Warning: Updates are temporarily disabled for package texinfo.' >&2;
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 echo $(texinfo_VERSION)
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 endef
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 define $(PKG)_BUILD
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 mkdir '$(1)/.build'
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 cd '$(1)/.build' && '$(1)/configure' \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2951
diff changeset
20 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2997
diff changeset
22 --prefix='$(HOST_PREFIX)'
2951
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 ## All we need for Octave is makeinfo.
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 $(MAKE) -C '$(1)/.build/lib' -j '$(JOBS)'
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 $(MAKE) -C '$(1)/.build/gnulib/lib' -j '$(JOBS)'
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 $(MAKE) -C '$(1)/.build/makeinfo' -j '$(JOBS)' install
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 endef