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

index db1eead8b1e096a23750b3ca6b2b2f1b2d44a47a..1ec852c7e1f24ebe288f973a78a97b908d253ddb 100644 (file)
@@ -10,7 +10,7 @@ endif
 dirstate = .git/logs/HEAD
 VCSWITNESS = $(if $(wildcard $(srcdir)/$(dirstate)),$$(srcdir)/../$(dirstate))
 
-all: elpa-update all-packages
+all: $(ELPA_PATH)/FETCH_HEAD all-packages
 
 ../lisp/elpa:
        mkdir ../lisp/elpa
@@ -27,14 +27,12 @@ $(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)/$(1)/package-makefile.mk: $(ELPA_PATH)/FETCH_HEAD
+  packages/$(1)-$(2)/$(1):
        ./bin/extract-package.sh -g $(ELPA_PATH) -p $(1) -s $(2) $(3)
 
-  $(1): packages/$(1)-$(2)/$(1)/package-makefile.mk
+  $(1): packages/$(1)-$(2)/$(1)
        $$(MAKE) -C packages/$(1)-$(2)/$(1) -f package-makefile.mk deploy PACKAGE=$(1)
 
   .PHONY: $(1)