Created
May 2, 2025 21:51
-
-
Save Pinjontall94/4d6e5d8fb46ddba8112c640c6014159f to your computer and use it in GitHub Desktop.
sconfig.al
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; SPDX-FileCopyrightText: 2025 Sammi Johnson <[email protected]> | |
| ; | |
| ; SPDX-License-Identifier: AGPL-3.0-or-later | |
| ;; Example metaconfig for Guile autotools projects | |
| ;; Usage: | |
| ;; Hand to sconfig/ac to construct an ac obj, then either: | |
| ;; REPL: | |
| ;; (ac-obj 'output "filename") | |
| ;; SHELL: | |
| ;; $ sconfig sconfig.al filename | |
| (list 'init (list "project-name" "0.0.1" "[email protected]") | |
| 'config (list 'srcdir "project.scm" | |
| 'aux-dir "build-aux" | |
| 'macro-dirs "m4" | |
| 'files (list "Makefile" | |
| (list "pre-inst-env" "chmod +x pre-inst-env") | |
| (list "scripts/project" "chmod +x scripts/project"))) | |
| 'programs (list 'guile-pkg (list "3.0") | |
| 'guile-progs)) | |
| ;; also valid | |
| ;; '(init ("project-name" "0.0.1" "[email protected]") | |
| ;; config (srcdir "project.scm" | |
| ;; aux-dir "build-aux" | |
| ;; macro-dirs "m4" | |
| ;; files ("Makefile" | |
| ;; ("pre-inst-env" "chmod +x pre-inst-env") | |
| ;; ("scripts/project" "chmod +x scripts/project"))) | |
| ;; programs (guile-pkg ("3.0") | |
| ;; guile-progs)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment