Moritz Heidkamp avatar Moritz Heidkamp committed ecd6a7b

chicken-build: remove -s and -p options as they aren't really of any use

Comments (0)

Files changed (1)

chicken-build.scm

   -d, --debug
     make a debug build
 
-  -s, --suffixed
-    use NAME as PROGRAM_SUFFIX
-
-  -p, --prefixed
-    use NAME as PROGRAM_PREFIX
-
   -h, --help
     show this help"
          (pathname-file (program-name))))
 
 (define build-boot-chicken? #f)
 (define debug-build? #f)
-(define suffix-name? #f)
-(define prefix-name? #f)
 (define chicken-name #f)
 
 (when (null? (command-line-arguments))
     (((or "-b" "--bootstrap") rest ...)
      (set! build-boot-chicken? #t)
      (loop rest))
-    (((or "-s" "--suffixed") rest ...)
-     (set! suffix-name? #t)
-     (loop rest))
-    (((or "-p" "--prefixed") rest ...)
-     (set! prefix-name? #t)
-     (loop rest))
     (((or "-d" "--debug") rest ...)
      (set! debug-build? #t)
      (loop rest))
   (printf-error "Invalid installation name: ~S" chicken-name)
   (exit 1))
 
-(when (and suffix-name? prefix-name?)
-  (fail "Only one of -p and -s can be passed"))
-
 (define chicken-path
   (normalize-pathname (make-pathname chicken-coop chicken-name)))
 
   (run "make" "boot-chicken")
   (setenv "CHICKEN" "./chicken-boot"))
 
-(when prefix-name?
-  (setenv "PROGRAM_PREFIX" (string-append chicken-name "-")))
-
-(when suffix-name?
-  (setenv "PROGRAM_SUFFIX" (string-append "-" chicken-name)))
-
 (when debug-build?
   (setenv "DEBUGBUILD" "1"))
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.