Changeset 13388 in project


Ignore:
Timestamp:
02/22/09 23:47:55 (11 years ago)
Author:
felix winkelmann
Message:

checks for include dir when installing header (thanks to Rick Richardson)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/3/crunch/trunk/crunch.setup

    r9920 r13388  
    1111   "crunch-syntax.scm")
    1212 '((documentation "crunch.html")
    13    (version "0.6.1")
     13   (version "0.6.3")
    1414   (syntax) ) )
    1515
     
    1717
    1818(when (setup-install-flag)
    19   (copy-file "crunch.h" (make-pathname (installation-prefix) "include")))
     19  (let ((dir (make-pathname (installation-prefix) "include")))
     20    (unless (file-exists? dir)
     21      (create-directory dir) )
     22    (copy-file "crunch.h" dir)))
Note: See TracChangeset for help on using the changeset viewer.