Skip to content
Snippets Groups Projects
Commit a25a1e7e authored by Francois-Rene Rideau's avatar Francois-Rene Rideau
Browse files

Simplify and robustify auto-generated parts of the Makefile.

parent 1686629d
No related branches found
No related tags found
No related merge requests found
......@@ -75,61 +75,10 @@ Makefile:
%: build/asdf.lisp
./tools/asdf-tools env l='$l' L='$L' u='$u' U='$u' v='$v' s='$s' t='$t' $@
# The magic rule above fails for the doc target, that is also the name of an existing directory
doc:
make -C doc
# This is the list of phony targets from this file
.PHONY: all driver-files defsystem-files ext doc
.PHONY: all driver-files defsystem-files ext force
# The text below was automaticaly generated by `make --silent makefile-targets`
# then manually inserted here to provide for completion:
archive:
build-asdf:
bump:
bump-version:
check-all-results:
check-all-scripts-results:
check-all-upgrade-results:
clean:
debian-package:
doc:
extract:
extract-all-tagged-asdf:
extract-tagged-asdf:
fix-local-git-tags:
fix-remote-git-tags:
git-all-committed-p:
help:
install:
install-asdf:
link-archive:
list-source-registry:
load:
make-archive:
makefile-targets:
merge-master-into-release:
publish-archive:
publish-debian-package:
push:
re:
show-commands:
t:
test:
test-all:
test-all-clean-load:
test-all-no-stop:
test-all-no-upgrade:
test-all-no-upgrade-no-stop:
test-all-scripts:
test-all-scripts-no-stop:
test-all-upgrade:
test-all-upgrade-no-stop:
test-basic:
test-clean-load:
test-load-systems:
test-scripts:
test-upgrade:
u:
wc:
website:
archive build-asdf bump bump-version check-all-results check-all-scripts-results check-all-upgrade-results clean debian-package doc extract extract-all-tagged-asdf extract-tagged-asdf fix-local-git-tags fix-remote-git-tags git-all-committed-p help install install-asdf link-archive load make-and-publish-archive make-archive makefile-targets merge-master-into-release publish-archive publish-debian-package push re show-commands t test test-all test-all-clean-load test-all-no-stop test-all-no-upgrade test-all-no-upgrade-no-stop test-all-scripts test-all-scripts-no-stop test-all-upgrade test-all-upgrade-no-stop test-basic test-clean-load test-load-systems test-scripts test-upgrade u wc website: force
./tools/asdf-tools env l='$l' L='$L' u='$u' U='$u' v='$v' s='$s' t='$t' $@
......@@ -8,11 +8,13 @@
;;; Documentation
(defun doc ()
"build documentation in doc/ directory"
(run '(make) :directory (pn "doc/")))
(run '(make) :directory (pn "doc/"))
(values))
(defun website ()
"publish documentation onto the public website"
(run '(make website) :directory (pn "doc/")))
(run '(make website) :directory (pn "doc/"))
(values))
;;; Line counting
......
......@@ -62,8 +62,8 @@
so that, when included in the Makefile, they will enable shell completion
based on a list of targets"
(let ((c (public-command-strings)))
;;(format t ".PHONY: ~{~A~^ ~}~%~%~{~A:~%~}~%" c c)
(format t "~{~A:~%~}~%" c))
(format t ".PHONY: ~{~A~^ ~}~%~%~{~A~^ ~}: force
./tools/asdf-tools env l='$l' L='$L' u='$u' U='$u' v='$v' s='$s' t='$t' $@~%" c c))
(values))
(defun help (&optional x)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment