r11234: add man page symlink for _vvcs-tree
[vcs-tree.git] / Makefile
index e963a2520dce74e28e86065b54af56b072d03d7d..7e02ade5cf2f6796ca372bf1f4ed92f12c25aab1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,16 +6,16 @@
 #  Author:       Kevin M. Rosenberg
 #  Date Started: Sep 2003
 #
-#  $Id: Makefile 7061 2003-09-07 06:34:45Z kevin $
+#  $Id$
 ##############################################################################
 
 
 pkg    :=vcs-tree
-sources        :=$(pkg).asd main.lisp loader.lisp package.lisp kmrcl-excerpt.lisp
+sources        :=$(pkg).asd $(wildcard *.lisp)
 
-$(pkg): $(sources)
+_$(pkg): $(sources)
        $(MAKE) clean
-       sbcl --load "$(pkg).asd" --eval "(asdf:oos 'asdf:load-op '$(pkg))" --eval "(sb-ext:quit :unix-status 0)"
+       /usr/bin/sbcl --userinit /dev/null --eval "(require 'asdf)" --load vcs-tree.asd --eval "(asdf:operate 'asdf::load-op 'vcs-tree)" --eval "(vcs-tree-system:save-executable \"_vcs-tree\")" --eval "(sb-ext:quit :unix-status 0)"
 
 clean:
-       rm -f *.fasl $(pkg)
+       rm -f *.fasl _$(pkg)