Ticket #792: 0001-deprecate-make-syntax.patch

File 0001-deprecate-make-syntax.patch, 1.7 KB (added by felix winkelmann, 10 years ago)
  • manual/Extensions

    From e11bb2fec4d8ce13a5f4031980280ccaa8521fe6 Mon Sep 17 00:00:00 2001
    From: felix <felix@call-with-current-continuation.org>
    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 b to {{chicken-install}}) and {{-feature compiling-extension}} options to the comp 
    197197Equivalent to {{(run (csc FORM ...))}}.
    198198
    199199
    200 ==== make
    201 
    202 <macro>(make ((TARGET (DEPENDENT ...) COMMAND ...) ...) ARGUMENTS)</macro>
    203 
    204 A ''make'' macro that executes the expressions {{COMMAND ...}}, when any of the dependents
    205 {{DEPENDENT ...}} have changed, to build {{TARGET}}. This is the same as the {{make}}
    206 extension, which is available separately. For more information, see
    207 [[http://wiki.call-cc.org/egg/make|make]].
    208 
    209 
    210200==== patch
    211201
    212202<procedure>(patch WHICH REGEX SUBST)</procedure>
  • setup-api.scm

    diff --git a/setup-api.scm b/setup-api.scm
    index a61a4bb..3aa0c93 100644
    a b  
    3939    ((run execute)
    4040     compile
    4141     standard-extension
    42      make make/proc
     42     make make/proc                     ; DEPRECATED
    4343     host-extension
    4444     install-extension install-program install-script
    4545     setup-verbose-mode setup-install-mode deployment-mode
     
    290290
    291291;;; "make" functionality
    292292
     293;;; DEPRECATED
     294;;; vvv
     295
    293296(define (make:find-matching-line str spec)
    294297  (let ((match? (lambda (s) (string=? s str))))
    295298    (let loop ((lines spec))
     
    443446                '('())
    444447                (cddr form)))))))
    445448
     449;;;^^^
     450;;; DEPRECATED
     451
    446452
    447453;;; Processing setup scripts
    448454