Commit 05e20b88 authored by Phillip Lord's avatar Phillip Lord

Fix dependency between packages and ELPA checkout

parent bf7519e8
Pipeline #626 failed with stage
in 6 minutes and 38 seconds
......@@ -10,7 +10,7 @@ endif
dirstate = .git/logs/HEAD
VCSWITNESS = $(if $(wildcard $(srcdir)/$(dirstate)),$$(srcdir)/../$(dirstate))
all: $(ELPA_PATH)/FETCH_HEAD all-packages
all: all-packages
../lisp/elpa:
mkdir ../lisp/elpa
......@@ -29,14 +29,14 @@ $(ELPA_PATH)/FETCH_HEAD: $(ELPA_PATH) Makefile
PACKAGES=
define package_template
packages/$(1)-$(2)/$(1):
packages/$(1)-$(2)/$(1): $(ELPA_PATH)/FETCH_HEAD
./bin/extract-package.sh -g $(ELPA_PATH) -p $(1) -s $(2) $(3)
$$(MAKE) -C packages/$(1)-$(2)/$(1) -f package-makefile.mk deploy PACKAGE=$(1)
$(1): packages/$(1)-$(2)/$(1)
$$(MAKE) -C packages/$(1)-$(2)/$(1) -f package-makefile.mk deploy PACKAGE=$(1)
.PHONY: $(1)
PACKAGES:=$$(PACKAGES) $(1)
PACKAGES:=$$(PACKAGES) packages/$(1)-$(2)/$(1)
endef
$(eval $(call package_template,pabbrev,d28cf8632d2691dc93afbb28500126242d37961c,-e))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment