]> git.eshelyaron.com Git - emacs.git/commitdiff
Depedency mostly working
authorPhillip Lord <phillip.lord@russet.org.uk>
Fri, 25 Jan 2019 22:53:19 +0000 (22:53 +0000)
committerPhillip Lord <phillip.lord@russet.org.uk>
Fri, 25 Jan 2019 22:53:19 +0000 (22:53 +0000)
elpa/Makefile.in

index e7c23eed300e25e156cb94fe7295daf0cb1ace4c..db1eead8b1e096a23750b3ca6b2b2f1b2d44a47a 100644 (file)
@@ -24,26 +24,24 @@ packages:
 $(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))