annotate src/texinfo.mk @ 3475:81544b3fe0ca

update to texinfo 5.2
author John W. Eaton <jwe@octave.org>
date Fri, 31 Jan 2014 11:47:59 -0500
parents cf6f40cededb
children 13be64f9f16d
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 :=
3475
81544b3fe0ca update to texinfo 5.2
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
6 $(PKG)_CHECKSUM := fbbc35c5857d11d1164c8445c78b66ad6d472072
81544b3fe0ca update to texinfo 5.2
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
81544b3fe0ca update to texinfo 5.2
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz
2951
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
3475
81544b3fe0ca update to texinfo 5.2
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
18 mkdir '$(1).build'
81544b3fe0ca update to texinfo 5.2
John W. Eaton <jwe@octave.org>
parents: 3293
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
3475
81544b3fe0ca update to texinfo 5.2
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
24 for d in gnulib/lib install-info tp util; do \
81544b3fe0ca update to texinfo 5.2
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
25 $(MAKE) -C '$(1).build' -C $$d -j '$(JOBS)'; \
81544b3fe0ca update to texinfo 5.2
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
26 done
81544b3fe0ca update to texinfo 5.2
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
27 for d in gnulib/lib install-info tp util; do \
81544b3fe0ca update to texinfo 5.2
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
28 $(MAKE) -C '$(1).build' -C $$d -j '$(JOBS)' install DESTDIR='$(3)'; \
81544b3fe0ca update to texinfo 5.2
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
29 done
2951
01a2b5484d88 Include texinfo as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 endef