Mercurial > mxe-octave
view src/units.mk @ 3442:ebe73c541a16
allow binary dist to work for gnu-linux target
* octave-wrapper.in: New file.
* bianry-dist-rules.mk: Install wrapper program for octave,
octave-config, and octave-cli binaries on gnu-linux systems.
Fix strip rules for gnu-linux systems.
Don't install Windows-specific files on gnu-linux systems.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 22 Jan 2014 05:06:54 -0500 |
parents | 5e9dc7f88328 |
children | 13be64f9f16d |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := units $(PKG)_IGNORE := $(PKG)_CHECKSUM := e460371dc97034d17ce452e6b64991f7fd2d1409 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; echo $($(PKG)_VERSION) endef define $(PKG)_BUILD cd '$(1)' && ./configure \ --prefix='$(HOST_PREFIX)' \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' endef