chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] deprecate "make" syntax


From: Felix
Subject: [Chicken-hackers] [PATCH] deprecate "make" syntax
Date: Mon, 27 Feb 2012 10:16:06 +0100 (CET)

The attached patch deprecates the "make" macro from the "setup-api" module.
There is a "make" egg that has the same functionality, so there is no need
to duplicate it here in the core system.


cheers,
felix
>From e11bb2fec4d8ce13a5f4031980280ccaa8521fe6 Mon Sep 17 00:00:00 2001
From: felix <address@hidden>
Date: Sat, 25 Feb 2012 11:46:13 +0100
Subject: [PATCH] deprecate 'make' syntax

---
 manual/Extensions |   10 ----------
 setup-api.scm     |    8 +++++++-
 2 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/manual/Extensions b/manual/Extensions
index 6ecda63..230b83f 100644
--- a/manual/Extensions
+++ b/manual/Extensions
@@ -197,16 +197,6 @@ to {{chicken-install}}) and {{-feature 
compiling-extension}} options to the comp
 Equivalent to {{(run (csc FORM ...))}}.
 
 
-==== make
-
-<macro>(make ((TARGET (DEPENDENT ...) COMMAND ...) ...) ARGUMENTS)</macro>
-
-A ''make'' macro that executes the expressions {{COMMAND ...}}, when any of 
the dependents
-{{DEPENDENT ...}} have changed, to build {{TARGET}}. This is the same as the 
{{make}}
-extension, which is available separately. For more information, see
-[[http://wiki.call-cc.org/egg/make|make]].
-
-
 ==== patch
 
 <procedure>(patch WHICH REGEX SUBST)</procedure>
diff --git a/setup-api.scm b/setup-api.scm
index a61a4bb..3aa0c93 100644
--- a/setup-api.scm
+++ b/setup-api.scm
@@ -39,7 +39,7 @@
     ((run execute)
      compile
      standard-extension
-     make make/proc
+     make make/proc                    ; DEPRECATED
      host-extension
      install-extension install-program install-script
      setup-verbose-mode setup-install-mode deployment-mode
@@ -290,6 +290,9 @@
 
 ;;; "make" functionality
 
+;;; DEPRECATED
+;;; vvv
+
 (define (make:find-matching-line str spec)
   (let ((match? (lambda (s) (string=? s str))))
     (let loop ((lines spec))
@@ -443,6 +446,9 @@
                '('())
                (cddr form)))))))
 
+;;;^^^
+;;; DEPRECATED
+
 
 ;;; Processing setup scripts
 
-- 
1.6.0.4


reply via email to

[Prev in Thread] Current Thread [Next in Thread]