Mercurial > urweb
comparison Makefile.in @ 427:0eb7bb4872d0
Add 'package' make target; add LICENSE
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Fri, 24 Oct 2008 17:39:47 -0400 |
parents | 168667cdaa95 |
children | 0af37c883358 |
comparison
equal
deleted
inserted
replaced
426:2a861b56969c | 427:0eb7bb4872d0 |
---|---|
6 LIB_UR := $(LIB)/ur | 6 LIB_UR := $(LIB)/ur |
7 LIB_C := $(LIB)/c | 7 LIB_C := $(LIB)/c |
8 | 8 |
9 all: smlnj mlton c | 9 all: smlnj mlton c |
10 | 10 |
11 .PHONY: all smlnj mlton c clean install | 11 .PHONY: all smlnj mlton c clean install package |
12 | 12 |
13 smlnj: src/urweb.cm | 13 smlnj: src/urweb.cm |
14 mlton: bin/urweb | 14 mlton: bin/urweb |
15 c: clib/urweb.o clib/driver.o | 15 c: clib/urweb.o clib/driver.o |
16 | 16 |
67 cp clib/*.o $(LIB_C)/ | 67 cp clib/*.o $(LIB_C)/ |
68 mkdir -p $(INCLUDE) | 68 mkdir -p $(INCLUDE) |
69 cp include/*.h $(INCLUDE)/ | 69 cp include/*.h $(INCLUDE)/ |
70 mkdir -p $(SITELISP) | 70 mkdir -p $(SITELISP) |
71 cp src/elisp/*.el $(SITELISP)/ | 71 cp src/elisp/*.el $(SITELISP)/ |
72 | |
73 package: | |
74 hg archive -t tgz -X tests /tmp/urweb.tgz |