Mercurial > mxe-octave
comparison src/texinfo.mk @ 3587:4e90544559a3
texinfo: update to install info.exe
* src/mingw-texinfo-1-fixes.patch: new file.
* dist-files.mk: add mingw-texinfo-1-fixes.patch.
* src/texinfo.mk: build libs and build and install info.exe
author | John Donoghue |
---|---|
date | Thu, 24 Apr 2014 15:44:00 -0400 |
parents | 63798d0032c2 |
children | 1dbcd8e81b6a |
comparison
equal
deleted
inserted
replaced
3586:6058fd18818d | 3587:4e90544559a3 |
---|---|
8 $(PKG)_SUBDIR := $(PKG)-4.13 | 8 $(PKG)_SUBDIR := $(PKG)-4.13 |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | 9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
10 $(PKG)_URL := ftp://ftp.gnu.org/gnu/texinfo/$($(PKG)_FILE) | 10 $(PKG)_URL := ftp://ftp.gnu.org/gnu/texinfo/$($(PKG)_FILE) |
11 $(PKG)_DEPS := # libgnurx | 11 $(PKG)_DEPS := # libgnurx |
12 | 12 |
13 ifeq ($(MXE_SYSTEM),mingw) | |
14 $(PKG)_DEPS += pcre | |
15 $(PKG)_LIBS += LIBS='-lpcre -lpcreposix' | |
16 endif | |
17 | |
13 define $(PKG)_UPDATE | 18 define $(PKG)_UPDATE |
14 echo 'Warning: Updates are temporarily disabled for package texinfo.' >&2; | 19 echo 'Warning: Updates are temporarily disabled for package texinfo.' >&2; |
15 echo $(texinfo_VERSION) | 20 echo $(texinfo_VERSION) |
16 endef | 21 endef |
17 | 22 |
18 define $(PKG)_BUILD | 23 define $(PKG)_BUILD |
19 mkdir '$(1).build' | 24 mkdir '$(1).build' |
20 cd '$(1).build' && '$(1)/configure' \ | 25 cd '$(1).build' && '$(1)/configure' \ |
21 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | 26 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | 27 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
23 --prefix='$(HOST_PREFIX)' | 28 --prefix='$(HOST_PREFIX)' $($(PKG)_LIBS) |
24 | 29 |
25 ## All we need for Octave is makeinfo. | 30 ## All we need for Octave is makeinfo |
26 $(MAKE) -C '$(1).build/lib' -j '$(JOBS)' | 31 $(MAKE) -C '$(1).build/lib' -j '$(JOBS)' |
27 $(MAKE) -C '$(1).build/gnulib/lib' -j '$(JOBS)' | 32 $(MAKE) -C '$(1).build/gnulib/lib' -j '$(JOBS)' |
28 $(MAKE) -C '$(1).build/makeinfo' -j '$(JOBS)' | 33 $(MAKE) -C '$(1).build/makeinfo' -j '$(JOBS)' |
29 | |
30 $(MAKE) -C '$(1).build/makeinfo' -j 1 install DESTDIR='$(3)' | 34 $(MAKE) -C '$(1).build/makeinfo' -j 1 install DESTDIR='$(3)' |
35 | |
36 # octave-cli needs info to display help | |
37 # need build native tools in order to build info | |
38 $(MAKE) -C '$(1).build/tools/lib' -j $(JOBS) | |
39 $(MAKE) -C '$(1).build/tools/gnulib/lib' -j $(JOBS) | |
40 $(MAKE) -C '$(1).build/tools/info' -j $(JOBS) makedoc | |
41 $(MAKE) -C '$(1).build/info' -j '$(JOBS)' funs.h ginfo.exe | |
42 $(INSTALL) '$(1).build/info/ginfo.exe' '$(3)$(HOST_BINDIR)/info.exe' | |
31 endef | 43 endef |