mirror of
https://github.com/emacscollective/emacs.g.git
synced 2025-07-26 11:24:25 -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
|
-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:
|
bootstrap-borg:
|
||||||
@git submodule--helper clone --name borg --path lib/borg \
|
@git submodule--helper clone --name borg --path lib/borg \
|
||||||
--url git@github.com:emacscollective/borg.git
|
--url git@github.com:emacscollective/borg.git
|
||||||
@cd lib/borg; git symbolic-ref HEAD refs/heads/master
|
@cd lib/borg; git symbolic-ref HEAD refs/heads/master
|
||||||
@cd lib/borg; git reset --hard HEAD
|
@cd lib/borg; git reset --hard HEAD
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
helpall::
|
helpall::
|
||||||
$(info Test and fix targets)
|
$(info Test and fix targets)
|
||||||
$(info --------------------)
|
$(info --------------------)
|
||||||
$(info make codespell-dry = run codespell, dry run)
|
$(info make codespell-dry = run codespell, dry run)
|
||||||
$(info make codespell-fix = run codespell, write fixes)
|
$(info make codespell-fix = run codespell, write fixes)
|
||||||
$(info )
|
@printf "\n"
|
||||||
|
|
||||||
codespell-dry:
|
codespell-dry:
|
||||||
@cd lib; codespell \
|
@cd lib; codespell \
|
||||||
@ -26,3 +37,5 @@ codespell-fix:
|
|||||||
--exclude-file ~/.emacs.d/etc/codespell/ignore-lines \
|
--exclude-file ~/.emacs.d/etc/codespell/ignore-lines \
|
||||||
--skip $(shell sed '/^\s*$$/d;/^\s*#.*$$/d;s/#.*//;s/\s//g' \
|
--skip $(shell sed '/^\s*$$/d;/^\s*#.*$$/d;s/#.*//;s/\s//g' \
|
||||||
~/.emacs.d/etc/codespell/ignore-files | tr "\\n" ",")
|
~/.emacs.d/etc/codespell/ignore-files | tr "\\n" ",")
|
||||||
|
|
||||||
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user