mirror of
https://github.com/emacscollective/emacs.g.git
synced 2025-06-07 08:14:16 -04:00
Emacsg: make: Add clean target
This commit is contained in:
parent
4e25394021
commit
2efadaadac
8
Makefile
8
Makefile
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
EMACS ?= emacs
|
EMACS ?= emacs
|
||||||
|
|
||||||
.PHONY: all help build build-init quick bootstrap
|
.PHONY: all help build build-init quick bootstrap clean
|
||||||
.FORCE:
|
.FORCE:
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
@ -26,6 +26,7 @@ help:
|
|||||||
$(info make lib/DRONE = rebuild DRONE)
|
$(info make lib/DRONE = rebuild DRONE)
|
||||||
$(info make build-init = rebuild init files)
|
$(info make build-init = rebuild init files)
|
||||||
$(info make bootstrap = bootstrap collective or new drones)
|
$(info make bootstrap = bootstrap collective or new drones)
|
||||||
|
$(info make clean = remove all *.elc and *-autoloads.el)
|
||||||
@printf "\n"
|
@printf "\n"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@ -58,3 +59,8 @@ bootstrap:
|
|||||||
@bin/borg-bootstrap
|
@bin/borg-bootstrap
|
||||||
@printf "\n=== Running 'make build' ===\n\n"
|
@printf "\n=== Running 'make build' ===\n\n"
|
||||||
@make build
|
@make build
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@find lib -name '*-autoloads.el' -exec rm '{}' ';'
|
||||||
|
@find lib -name '*.elc' -exec rm '{}' ';'
|
||||||
|
@rm -f init.elc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user