Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
asdf
asdf
Commits
a25a1e7e
Commit
a25a1e7e
authored
Sep 11, 2014
by
Francois-Rene Rideau
Browse files
Simplify and robustify auto-generated parts of the Makefile.
parent
1686629d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
a25a1e7e
...
...
@@ -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'
$@
tools/build.lisp
View file @
a25a1e7e
...
...
@@ -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
...
...
tools/main.lisp
View file @
a25a1e7e
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment