Commit Graph

39 Commits

Author SHA1 Message Date
jottbee 68a122a2a5 support for rx with three submatches in common rules. 2005-02-26 07:24:30 +00:00
jottbee 9a25d38343 replaced tail-element consisting of three threads (tee, cond-tee,
sink) by only one thread; used only async channels
2005-02-25 09:35:34 +00:00
jottbee 8ef87159b0 added start/stop threads; multiple rule-make commands do work now. 2005-02-25 08:14:37 +00:00
jottbee 208f3b47bc simple/sample makefile for common-rules 2005-02-24 14:50:28 +00:00
jottbee 181825c8b9 added common rules: (common-file "%.o" ("%.c" "%.h") ...) etc. 2005-02-24 14:43:43 +00:00
jottbee 0898ffd43d added common rules: (common-file "%.o" ("%.c" "%.h") ...) 2005-02-24 14:30:07 +00:00
jottbee 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.
2005-02-22 07:03:02 +00:00
jottbee 7a6e3585c8 added functions for rules requiring all prereqs to be newer to get rebuild. 2005-02-21 08:57:48 +00:00
jottbee 8cc73cb7ea testfile for make-rule-cml. 2005-02-21 05:13:27 +00:00
jottbee 376d5499e6 written new (increased readability, easier). 2005-02-21 05:11:29 +00:00
jottbee 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.
2005-02-16 14:07:41 +00:00
jottbee 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.
2005-02-16 11:05:39 +00:00
jottbee 12aa087ddf added automatic variables in (currently only) gnu style.
fixed a small bug: with-cwd and file-name-nondirectory was needed to build
2005-02-15 19:03:05 +00:00
jottbee 62be1f7142 added automatic variables in (currently only) gnu style.
added switch between make-rule-cml (file make-rule) and make-rule-no-cml
2005-02-15 18:59:37 +00:00
jottbee c411f67a2c make-is-out-of-date? is more readable now; small improvement
target-mtime doesn't need to be checked for each prereq.
2005-02-15 18:54:47 +00:00
jottbee 9e1b812cfd simple makefile to build tex stuff. 2005-02-15 18:42:14 +00:00
jottbee 6a7401cd45 fixed: build-func-result now returns (res . end-state) 2005-02-15 18:34:28 +00:00
jottbee 113cd54a71 rewrote (make-rule-result ...) using two named functions for tracing purposes
fixed: build-func-result now returns (res . end-state)
2005-02-15 18:32:01 +00:00
jottbee bf7f4e2afb changed syntax for file, md5, once, and always from ?thunk into ?action0 ... 2005-02-15 11:37:40 +00:00
jottbee d587e4152f changed syntax for file, md5, once, and always from ?thunk into ?action0 ... 2005-02-15 11:29:08 +00:00
jottbee b7ba049edd md5 works now. (rule ...) is now called (file ...). 2005-02-14 07:41:34 +00:00
jottbee 7115ec2769 different style. 2005-02-14 07:35:46 +00:00
jottbee 727d9bdf0f changed rule-node/make analogously to make-rule. 2005-02-14 07:24:34 +00:00
jottbee 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).
2005-02-14 07:13:14 +00:00
jottbee 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
2005-02-14 06:48:08 +00:00
jottbee a8dd2ab60b examples: a small c program to be build through makefile-c.scm
to-rule-set: rule-candidates -> dfs -> '(#{:rule} ...) -> rule-set

dfs:      depth first topological sort with automatic leaf insertion

out-of-date: replaced by templates.scm

rule-trans-set: replaced by to-rule-set
2005-02-04 08:05:55 +00:00
jottbee 5b462916b1 dfs.scm: depth-first-search/sort algorithm, work in progress...\n to-rule-set.scm: calls dfs, work in progress... 2005-01-21 15:40:59 +00:00
jottbee afb60fbb74 to-rule-set.scm: future replacement for rule-trans-set.scm,\n depth-first-search will be called from here. 2005-01-21 09:09:31 +00:00
jottbee 053efed211 *** empty log message *** 2005-01-20 10:19:30 +00:00
jottbee 2ee328949e makefile.scm: (expand-file-name ...) works now due to s,assq,assoc, in
macros.scm and rule-trans-set.scm

rule-trans-set.scm: known-rules-update is now really ugly! (but working)
		    will be replaced with topological sort

		    known-rules-update now loops until there are no
		    further changes in the rule-candidates-list (each
		    time). this should really make it work now.

makros.scm replaced with macros.scm

macros.scm: in make-is-out-of-date? there was no check for
            file-existence of each prereq
2005-01-20 10:18:07 +00:00
jottbee 5277066db6 *** empty log message *** 2005-01-19 14:50:45 +00:00
jottbee dbda21b92a *** empty log message *** 2005-01-18 19:28:50 +00:00
jottbee af7d20c1b2 *** empty log message *** 2005-01-18 15:45:27 +00:00
jottbee 3e19944116 work in progress: macros rule-trans-set 2005-01-18 15:18:22 +00:00
jottbee d42d574bf6 make-rule and make-rule-no-cml work with new interface.\n\nmakros: ?prereqs can be expression 2005-01-17 16:56:59 +00:00
jottbee 8cb0012a99 *** empty log message *** 2005-01-17 07:56:42 +00:00
jottbee a96da29be7 Initial import. 2005-01-17 07:56:42 +00:00
jottbee ec29e6728e *** empty log message *** 2005-01-17 07:56:42 +00:00
jottbee 9361340eab *** empty log message *** 2005-01-13 11:30:05 +00:00