~brenns10/funlisp

12f19a614976bff71417d9cd8e93a25201c18f69 — Stephen Brennan 2 years ago 3a28032
Fix makefile stuff and document a bit better
4 files changed, 18 insertions(+), 1 deletions(-)

M INSTALL.md
M Makefile
A Makefile.conf.dist
M Makefile.dep
M INSTALL.md => INSTALL.md +9 -1
@@ 1,7 1,15 @@
Installation
============

You may install from a Git repo checkout, or from a source tarball.
First, configure your installation. `Makefile.conf` contains several important
variables used by the Makefile for building and installing funlisp. The default
one is very cross-platform compatible, but you may want more options enabled
(e.g. for development).

You may install from a Git repo checkout, or from a source tarball. The source
tarball contains pre-built documentation (HTML and manual pages), and thus has
no dependencies other than standard Make and compiler utilities. The git
checkout requires additional tools to be installed, but is smaller.

From Git
--------

M Makefile => Makefile +2 -0
@@ 93,6 93,8 @@ clean_doc:
# --transform argument ensures that when the tarball is extracted, all files are
# within a subdirectory.
package: FORCE clean doc
	# first, ensure that we're packaging the proper Makefile.conf
	cp Makefile.conf.dist Makefile.conf
	tar --transform='s/^/funlisp-$(VERSION)\//' -cvf funlisp-$(VERSION).tar.gz \
		LICENSE.txt README.md INSTALL.md CHANGELOG.md \
		Makefile Makefile.conf Makefile.conf.dev Makefile.dep \

A Makefile.conf.dist => Makefile.conf.dist +5 -0
@@ 0,0 1,5 @@
# A minimal, portable Makefile.conf for distribution
CC=cc
CFLAGS=-Iinc
DESTDIR=/
PREFIX=usr

M Makefile.dep => Makefile.dep +2 -0
@@ 8,6 8,8 @@ iter.o: src/iter.c src/iter.h
parse.o: src/parse.c src/funlisp_internal.h inc/funlisp.h src/iter.h \
 src/ringbuf.h src/hashtable.h src/charbuf.h
ringbuf.o: src/ringbuf.c src/ringbuf.h
textcache.o: src/textcache.c src/funlisp_internal.h inc/funlisp.h \
 src/iter.h src/ringbuf.h src/hashtable.h
types.o: src/types.c src/funlisp_internal.h inc/funlisp.h src/iter.h \
 src/ringbuf.h src/hashtable.h
util.o: src/util.c src/funlisp_internal.h inc/funlisp.h src/iter.h \