diff --git a/Makefile b/Makefile index 18cfdeb..3b0a56a 100755 --- a/Makefile +++ b/Makefile @@ -18,12 +18,11 @@ $(call include-once,$(MK_DIR)/emacsd-defs.mk) GIT_DIRS += emacswiki URL-emacswiki := https://github.com/emacsmirror/emacswiki.org.git -post_init_cmd-emacswiki =\ - cd $(@D) &&\ - git config core.sparsecheckout true &&\ +GITCLONE_FLAGS-emacswiki := --no-checkout --config core.sparseCheckout=true --depth 10 +post_clone_cmd-emacswiki :=\ + cd emacswiki &&\ echo '!*' > .git/info/sparse-checkout &&\ - echo '*.el' >> .git/info/sparse-checkout &&\ - git read-tree -mu HEAD + echo '*.el' >> .git/info/sparse-checkout GIT_DIRS += use-package URL-use-package := https://github.com/jwiegley/use-package.git