Created
April 21, 2012 06:13
-
-
Save linqing/2434648 to your computer and use it in GitHub Desktop.
run all make files
This file contains 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
#!/usr/bin/env clisp | |
(setf *bookpaths* '( | |
("platform/architecture" "book") | |
("platform/requirements" "book") | |
("zszj/userGuide/agents" "book"))) | |
(setf *root* (namestring (cd))) | |
(defun make-books (paths) | |
(if (null paths) | |
'done | |
(let ((path (car (car paths))) | |
(file (nth 1 (car paths)))) | |
(progn | |
(run-shell-command (concatenate 'string | |
"export DOC_PATH=" path ";" | |
"export FILE=" file ";" | |
"make install")) | |
(make-books (cdr paths)))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment