Commit Graph

59 Commits

Author SHA1 Message Date
jottbee f73ab42ff6 added some files:
sample makefile for building tex-stuff
  makefile-diplom.scm
  pkg-def.scm
2005-04-11 20:09:46 +00:00
jottbee 64ca70eed3 dependend changes. 2005-04-11 20:03:26 +00:00
jottbee 4198c5e46a fixed pattern problem:
now, a normal rule can be inside common-%. this will work:
    (common-% "foo" ("%.c") (run (gcc -o ,($@) ,($<))))

added head->rc/-%/-rx, tail->rc/-%/-rx
2005-04-11 19:57:15 +00:00
jottbee b161de726d cosmetics 2005-04-11 19:49:11 +00:00
jottbee 2b8a9709a6 written new, no need for set! any longer 2005-04-11 19:47:05 +00:00
jottbee 0257dc23a1 fixed a bug in same-mtime?, all-same-mtime? (behaviour)
fixed a bug in same-perms, wrong port, out -> in
added head, tail
2005-04-11 19:45:25 +00:00
jottbee 93609c80fd rename cml-fork-collecting to cml-fork/collecting 2005-03-12 18:56:53 +00:00
jottbee 80fc7c2dae cosmetics for display-job-output 2005-03-12 18:53:33 +00:00
jottbee 638e7c5a2f rename cml-fork-collecting to cml-fork/collecting 2005-03-12 18:50:24 +00:00
jottbee 6de4a10698 removed garbage 2005-03-12 09:33:27 +00:00
jottbee b3f20e6ed0 renamed cml-fork-collecting to cml-fork/collecting 2005-03-12 09:03:18 +00:00
jottbee 05600a0c92 cosmetics for display-job-output 2005-03-12 08:24:44 +00:00
jottbee cafba717cf make-jobd now takes an optarg: jobd-vers 2005-03-12 08:22:51 +00:00
jottbee c0ece4c94b small sample scsh-script using make in scsh 2005-03-10 09:49:34 +00:00
jottbee e9b3d3d6ec changed function names 2005-03-09 15:24:10 +00:00
jottbee 554749cd20 embedded some commands for use with make into scsh 2005-03-09 14:49:13 +00:00
jottbee 0205ebfd6a added record type rule-cand 2005-03-08 13:14:36 +00:00
jottbee 57b9ebfe8b new syntax for makefile. 2005-03-07 17:37:46 +00:00
jottbee a5852a70ba fixed: check if prereq exists when calculating md5-sum, check if
target has prereqs when md5 used, typo
2005-03-02 07:07:59 +00:00
jottbee 92821d9337 fixed rx: submatches now contain bos/eos 2005-02-26 08:48:02 +00:00
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