describe: show the same information about functions for 'x and #'x.
[sbcl.git] / contrib / asdf / Makefile
index 7a4db97..658d583 100644 (file)
@@ -1,14 +1,21 @@
-MODULE=asdf
-include ../vanilla-module.mk
+DEST=$(SBCL_PWD)/obj/sbcl-home/contrib/
+FASL=$(DEST)/asdf.fasl
 
+fasl:: $(FASL)
+$(FASL):: asdf.lisp ../../output/sbcl.core
+       if [ -d asdf-upstream ] ; then rm -rf asdf-upstream ; fi
+       mkdir -p $(DEST)
+       $(SBCL) --eval '(compile-file #p"SYS:CONTRIB;ASDF;ASDF.LISP" :output-file (parse-native-namestring "$@"))' </dev/null
 
-test::
+install::
+       cp $(FASL) "$(BUILD_ROOT)$(INSTALL_DIR)"
+
+test:: $(FASL)
        true
 
-up:
-       test -d asdf-upstream || git clone http://common-lisp.net/project/asdf/asdf.git asdf-upstream
-       cd asdf-upstream && git pull
-       cp asdf-upstream/asdf.lisp asdf.lisp
-       cp asdf-upstream/asdf.texinfo asdf.texinfo
-       cp asdf-upstream/README README
-       cp asdf-upstream/LICENSE LICENSE 
+UPSTREAM=../../obj/asdf-upstream
+up::
+       sh pull-asdf.sh
+       ln -f $(UPSTREAM)/build/asdf.lisp asdf.lisp
+       ln -f $(UPSTREAM)/doc/asdf.texinfo asdf.texinfo
+       ln -f $(UPSTREAM)/README README