4198c5e46a
fixed pattern problem: now, a normal rule can be inside common-%. this will work: (common-% "foo" ("%.c") (run (gcc -o ,($@) ,($<))))
jottbee2005-04-11 19:57:15 +00:00
2b8a9709a6
written new, no need for set! any longer
jottbee2005-04-11 19:47:05 +00:00
0257dc23a1
fixed a bug in same-mtime?, all-same-mtime? (behaviour) fixed a bug in same-perms, wrong port, out -> in added head, tail
jottbee2005-04-11 19:45:25 +00:00
93609c80fd
rename cml-fork-collecting to cml-fork/collecting
jottbee2005-03-12 18:56:53 +00:00
80fc7c2dae
cosmetics for display-job-output
jottbee2005-03-12 18:53:33 +00:00
638e7c5a2f
rename cml-fork-collecting to cml-fork/collecting
jottbee2005-03-12 18:50:24 +00:00
554749cd20
embedded some commands for use with make into scsh
jottbee2005-03-09 14:49:13 +00:00
0205ebfd6a
added record type rule-cand
jottbee2005-03-08 13:14:36 +00:00
57b9ebfe8b
new syntax for makefile.
jottbee2005-03-07 17:37:46 +00:00
a5852a70ba
fixed: check if prereq exists when calculating md5-sum, check if target has prereqs when md5 used, typo
jottbee2005-03-02 07:07:59 +00:00
92821d9337
fixed rx: submatches now contain bos/eos
jottbee2005-02-26 08:48:02 +00:00
68a122a2a5
support for rx with three submatches in common rules.
jottbee2005-02-26 07:24:30 +00:00
9a25d38343
replaced tail-element consisting of three threads (tee, cond-tee, sink) by only one thread; used only async channels
jottbee2005-02-25 09:35:34 +00:00
8ef87159b0
added start/stop threads; multiple rule-make commands do work now.
jottbee2005-02-25 08:14:37 +00:00
208f3b47bc
simple/sample makefile for common-rules
jottbee2005-02-24 14:50:28 +00:00
181825c8b9
added common rules: (common-file "%.o" ("%.c" "%.h") ...) etc.
jottbee2005-02-24 14:43:43 +00:00
6fe70b47e3
fixed a deadlock. make-rule-cml now behaves like fork-bombing (if there are enough "bombs"). Added some cosmetics in make-rule.scm and collect-channels.scm.
jottbee2005-02-22 07:03:02 +00:00
7a6e3585c8
added functions for rules requiring all prereqs to be newer to get rebuild.
jottbee2005-02-21 08:57:48 +00:00
8cc73cb7ea
testfile for make-rule-cml.
jottbee2005-02-21 05:13:27 +00:00
376d5499e6
written new (increased readability, easier).
jottbee2005-02-21 05:11:29 +00:00
915cde7891
dfs uses the create-leaf function to insert an unresolveable adjacency as a leaf (= new node) now. this function can be specified as an argument to dfs.
jottbee2005-02-16 14:07:41 +00:00
30d8807382
a pred function to compare a given adjacency-identifier with a given target-identifiers can now be specified as optarg #1. auto-leafs? is optarg #2 now.
jottbee2005-02-16 11:05:39 +00:00
12aa087ddf
added automatic variables in (currently only) gnu style. fixed a small bug: with-cwd and file-name-nondirectory was needed to build
jottbee2005-02-15 19:03:05 +00:00
62be1f7142
added automatic variables in (currently only) gnu style. added switch between make-rule-cml (file make-rule) and make-rule-no-cml
jottbee2005-02-15 18:59:37 +00:00
c411f67a2c
make-is-out-of-date? is more readable now; small improvement target-mtime doesn't need to be checked for each prereq.
jottbee2005-02-15 18:54:47 +00:00
9e1b812cfd
simple makefile to build tex stuff.
jottbee2005-02-15 18:42:14 +00:00
113cd54a71
rewrote (make-rule-result ...) using two named functions for tracing purposes fixed: build-func-result now returns (res . end-state)
jottbee2005-02-15 18:32:01 +00:00
bf7f4e2afb
changed syntax for file, md5, once, and always from ?thunk into ?action0 ...
jottbee2005-02-15 11:37:40 +00:00
d587e4152f
changed syntax for file, md5, once, and always from ?thunk into ?action0 ...
jottbee2005-02-15 11:29:08 +00:00
b7ba049edd
md5 works now. (rule ...) is now called (file ...).
jottbee2005-02-14 07:41:34 +00:00
727d9bdf0f
changed rule-node/make analogously to make-rule.
jottbee2005-02-14 07:24:34 +00:00
b4382fa7b7
make-rule now uses the sort function of dfs, added the predicate function position< therefore and changed the rule-node/sort-msgs function accordingly. fixed rule-node/make: now prereqs-results is checked for being an empty list -> init-state is now passed properly, prereqs-results are well-formed now. apply is only used for non-empty prereqs-results (then the number of prereqs is unknown here).
jottbee2005-02-14 07:13:14 +00:00
2479676e2d
added a comment, improved error message for unresolveable adjacencies, a sort function is now part of this module, so it can be used standing alone
jottbee2005-02-14 06:48:08 +00:00
a8dd2ab60b
examples: a small c program to be build through makefile-c.scm
jottbee2005-02-04 08:05:55 +00:00
5b462916b1
dfs.scm: depth-first-search/sort algorithm, work in progress...\n to-rule-set.scm: calls dfs, work in progress...
jottbee2005-01-21 15:40:59 +00:00
afb60fbb74
to-rule-set.scm: future replacement for rule-trans-set.scm,\n depth-first-search will be called from here.
jottbee2005-01-21 09:09:31 +00:00