emacs/Makefile

14 lines
537 B
Makefile
Raw Permalink Normal View History

2023-08-06 07:10:05 +00:00
DRONES_DIR = $(shell git config "borg.drones-directory" || echo "lib")
-include $(DRONES_DIR)/borg/borg.mk
bootstrap-borg:
@git submodule--helper clone --name borg --path $(DRONES_DIR)/borg \
--url git@github.com:emacscollective/borg.git
2023-08-07 08:56:09 +00:00
@cd $(DRONES_DIR)/borg; git symbolic-ref HEAD refs/heads/main
2023-08-06 07:10:05 +00:00
@cd $(DRONES_DIR)/borg; git reset --hard HEAD
scrub-submodules:
@for dir in `ls lib`; do printf "%s --\n" "$$dir"; cd "lib/$$dir"; for dirt in `git ls-files --others --exclude-standard`; do rm -iv "$$dirt"; done; cd ../..; done