emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 679846a 065/173: Makefile: allow package and elpa targets


From: Dmitry Gutov
Subject: [elpa] master 679846a 065/173: Makefile: allow package and elpa targets to run without git
Date: Thu, 23 Jun 2016 00:28:38 +0000 (UTC)

branch: master
commit 679846ae6223d33dd83edbeaacf15d128caf09df
Author: David Bremner <address@hidden>
Commit: David Bremner <address@hidden>

    Makefile: allow package and elpa targets to run without git
    
    This is handy for people working from e.g. a zip or tar snapshot of the git
    repo.
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index fada444..015f3ac 100644
--- a/Makefile
+++ b/Makefile
@@ -4,13 +4,13 @@ EMACS=emacs
 
 package: *.el
        @ver=`grep -o "Version: .*" company.el | cut -c 10-`; \
-       tar cjvf company-$$ver.tar.bz2 --mode 644 `git ls-files '*.el' | xargs`
+       tar cjvf company-$$ver.tar.bz2 --mode 644 $$(find . -name \*.el)
 
 elpa: *.el
        @version=`grep -o "Version: .*" company.el | cut -c 10-`; \
        dir=company-$$version; \
        mkdir -p "$$dir"; \
-       cp `git ls-files '*.el' | xargs` company-$$version; \
+       cp $$(find . -name \*.el) company-$$version; \
        echo "(define-package \"company\" \"$$version\" \
        \"Modular in-buffer completion framework\")" \
        > "$$dir"/company-pkg.el; \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]