mirror of
https://github.com/emacscollective/emacs.g.git
synced 2025-07-24 18:35:22 -04:00
Emacsg: Document help and helpall targets here
Hide bootstrap-borg, when that is done; and the codespell targets before then.
This commit is contained in:
parent
015bc6d5af
commit
4ebfb21133
15
Makefile
15
Makefile
@ -1,17 +1,28 @@
|
||||
-include lib/borg/borg.mk
|
||||
|
||||
ifndef BORG_DIR
|
||||
|
||||
help helpall::
|
||||
$(info )
|
||||
$(info Bootstrapping)
|
||||
$(info -------------)
|
||||
$(info make bootstrap-borg = make borg and make targets available)
|
||||
@printf "\n"
|
||||
|
||||
bootstrap-borg:
|
||||
@git submodule--helper clone --name borg --path lib/borg \
|
||||
--url git@github.com:emacscollective/borg.git
|
||||
@cd lib/borg; git symbolic-ref HEAD refs/heads/master
|
||||
@cd lib/borg; git reset --hard HEAD
|
||||
|
||||
else
|
||||
|
||||
helpall::
|
||||
$(info Test and fix targets)
|
||||
$(info --------------------)
|
||||
$(info make codespell-dry = run codespell, dry run)
|
||||
$(info make codespell-fix = run codespell, write fixes)
|
||||
$(info )
|
||||
@printf "\n"
|
||||
|
||||
codespell-dry:
|
||||
@cd lib; codespell \
|
||||
@ -26,3 +37,5 @@ codespell-fix:
|
||||
--exclude-file ~/.emacs.d/etc/codespell/ignore-lines \
|
||||
--skip $(shell sed '/^\s*$$/d;/^\s*#.*$$/d;s/#.*//;s/\s//g' \
|
||||
~/.emacs.d/etc/codespell/ignore-files | tr "\\n" ",")
|
||||
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user