Using xeno.mk to Install MaKL

You could use a xeno template to keep your MaKL up-to-date on your platform. In most scenarios the following Makefile will fit, just set the GNU_MAKE variable to match your platform:

# set this to the version you need to install
MAKL_VERSION = 1.7.0

# this works for Darwin, other platforms have different GNU make default 
# names and locations.
GNU_MAKE = /usr/bin/gnumake

XENO_FETCH_URI = http://koanlogic.com/download/makl/makl-$(MAKL_VERSION).tar.gz
XENO_NO_PATCH = true
XENO_NO_BUILD = true
XENO_CONF_FLAGS = --gnu_make=$(GNU_MAKE)

include xeno.mk

conf-hook-pre:
    $(GNU_MAKE) -C $(XENO_BUILD_DIR) toolchain

Then you can call makl to complete the job:

$ sudo makl
Password: ****
gnumake[1]: Nothing to be done for `fetch-hook-pre'.
==> fetching makl-1.7.0 from http://koanlogic.com/download/makl/makl-1.7.0.tar.gz
...
gnumake[1]: Nothing to be done for `install-hook-post'.

Check it out:

$ makl-help
MaKL version 1.7.0, (c) 2005-2008 Koanlogic srl         
This is free software released under the BSD license.             
...
 
makl_selfinstall.txt · Last modified: 2008/03/12 12:16 by 80.180.15.104
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki