annotate src/texinfo.mk @ 2997:4f9b72cf7ee7

allow native builds too
author John W. Eaton <jwe@octave.org>
date Tue, 28 May 2013 17:31:59 -0400
parents 01a2b5484d88
children 100e618349f7
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) \
2951
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 --host='$(TARGET)' \
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 --build="`config.guess`" \
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 --prefix='$(PREFIX)/$(TARGET)'
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 ## All we need for Octave is makeinfo.
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 $(MAKE) -C '$(1)/.build/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/gnulib/lib' -j '$(JOBS)'
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 $(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
29 endef