$(ELPA_PATH):
git clone --mirror https://git.savannah.gnu.org/git/emacs/elpa.git $(ELPA_PATH)
-elpa-update: $(VCSWITNESS) $(ELPA_PATH)
+$(ELPA_PATH)/FETCH_HEAD: $(ELPA_PATH) Makefile
cd $(ELPA_PATH);git fetch --all
.PHONY: elpa-update
PACKAGES=
define package_template
- packages/$(1)-$(2): $(ELPA_PATH)
+ packages/$(1)-$(2)/$(1)/package-makefile.mk: $(ELPA_PATH)/FETCH_HEAD
./bin/extract-package.sh -g $(ELPA_PATH) -p $(1) -s $(2) $(3)
- $(1): packages/$(1)-$(2)
+ $(1): packages/$(1)-$(2)/$(1)/package-makefile.mk
$$(MAKE) -C packages/$(1)-$(2)/$(1) -f package-makefile.mk deploy PACKAGE=$(1)
.PHONY: $(1)
PACKAGES:=$$(PACKAGES) $(1)
endef
-$(info $(call package_template,pabbrev,d28cf8632d2691dc93afbb28500126242d37961c,-e))
$(eval $(call package_template,pabbrev,d28cf8632d2691dc93afbb28500126242d37961c,-e))
-
$(eval $(call package_template,darkroom,73701d95133ba6581a95cec9489224b87f483cc0))
$(eval $(call package_template,queue,cf2001d3e83e05af5820174e9fa1f9638a4f8c08))