Changeset 20615 in project


Ignore:
Timestamp:
10/03/10 17:11:59 (8 years ago)
Author:
sjamaan
Message:

slatex: Don't hardcode the installation path but use chicken-home at runtime, which could be different when installed with a DESTDIR

Location:
release/4/slatex/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/4/slatex/trunk/slatex-program.scm

    r20594 r20615  
    1010  (exit 1))
    1111
    12 (include "style-path.scm")              ; Defines identifier "style-path"
     12(define style-path
     13  (list (chicken-home) "slatex"))
    1314
    1415;; Append our style directory to TEXINPUTS
  • release/4/slatex/trunk/slatex.setup

    r20594 r20615  
    1111  (list (installation-prefix) "share" "chicken" "slatex"))
    1212
    13 ;; Is there a simpler way to bake this path into the program at compile time?
    14 (with-output-to-file "style-path.scm"
    15   (lambda ()
    16     (write `(define style-path ',style-path))))
    17 
    1813(compile -O2 slatex-program.scm -o slatex)
    1914
Note: See TracChangeset for help on using the changeset viewer.