[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/async 890b38f 18/60: Add makefile.
From: |
Stefan Monnier |
Subject: |
[elpa] externals/async 890b38f 18/60: Add makefile. |
Date: |
Tue, 8 Oct 2019 10:11:29 -0400 (EDT) |
branch: externals/async
commit 890b38fa2b895fe215740cfac6727609c3b0f805
Author: Thierry Volpiatto <address@hidden>
Commit: Thierry Volpiatto <address@hidden>
Add makefile.
---
Makefile | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 74 insertions(+)
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..d39d657
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,74 @@
+# makefile for async.
+
+# Author: Thierry Volpiatto.
+# Copyright (C) 2011~2017, Thierry Volpiatto, all rights reserved.
+
+## This file is NOT part of GNU Emacs
+##
+## License
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 3, or (at your option)
+## any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; see the file COPYING. If not, write to
+## the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+## Floor, Boston, MA 02110-1301, USA.
+
+# Emacs invocation
+EMACS_COMMAND := emacs
+
+EMACS := $(EMACS_COMMAND) -Q -batch
+
+EVAL := $(EMACS) --eval
+
+PKGDIR := .
+
+# Additional emacs loadpath
+LOADPATH := -L .
+
+# Files to compile
+EL := $(sort $(wildcard *async*.el))
+
+# Compiled files
+ELC := $(EL:.el=.elc)
+
+
+.PHONY: clean autoloads batch-compile install uninstall
+
+all: clean autoloads batch-compile
+
+$(ELC): %.elc: %.el
+ $(EMACS) $(LOADPATH) -f batch-byte-compile $<
+
+# Compile needed files
+compile: $(ELC)
+
+# Compile all files at once
+batch-compile:
+ $(EMACS) $(LOADPATH) -f batch-byte-compile $(EL)
+
+# Remove all generated files
+clean:
+ rm -f $(ELC)
+
+# Make autoloads file
+autoloads:
+ $(EVAL) "(let ((generated-autoload-file (expand-file-name
\"async-autoloads.el\" \"$(PKGDIR)\")) \
+(backup-inhibited t)) (update-directory-autoloads \"$(PKGDIR)\"))"
+
+PREFIX=/usr/local/share/
+DESTDIR=${PREFIX}emacs/site-lisp/emacs-async/
+install:
+ test -d ${DESTDIR} || mkdir ${DESTDIR}
+ cp -vf *.elc $(DESTDIR)
+
+uninstall:
+ rm -vf ${DESTDIR}*.elc
- [elpa] externals/async 2018523 15/60: Inject nsm-* vars in smtp-mail for emacs-25+ (#75)., (continued)
- [elpa] externals/async 2018523 15/60: Inject nsm-* vars in smtp-mail for emacs-25+ (#75)., Stefan Monnier, 2019/10/08
- [elpa] externals/async 666066d 14/60: Merge pull request #72 from jwiegley/Fix_async_ready, Stefan Monnier, 2019/10/08
- [elpa] externals/async 54977d6 10/60: Improve formatting in README., Stefan Monnier, 2019/10/08
- [elpa] externals/async e1a3735 20/60: Merge branch 'master' of github.com:jwiegley/emacs-async, Stefan Monnier, 2019/10/08
- [elpa] externals/async d6222c2 22/60: Ensure wdired-use-interactive-rename is disabled., Stefan Monnier, 2019/10/08
- [elpa] externals/async d422df5 24/60: Add new var to allow calling emacs with -Q or -q (#80)., Stefan Monnier, 2019/10/08
- [elpa] externals/async c3b297f 27/60: Merge pull request #83 from darkfeline/lighter, Stefan Monnier, 2019/10/08
- [elpa] externals/async 4e894a2 16/60: Update README., Stefan Monnier, 2019/10/08
- [elpa] externals/async 324549b 36/60: Merge pull request #94 from astahlman/auto-select-coding, Stefan Monnier, 2019/10/08
- [elpa] externals/async d13c0bc 35/60: Choose coding system based on environment, Stefan Monnier, 2019/10/08
- [elpa] externals/async 890b38f 18/60: Add makefile.,
Stefan Monnier <=
- [elpa] externals/async afd1ad5 39/60: Allow removing text properties in strings when injecting, Stefan Monnier, 2019/10/08
- [elpa] externals/async 0a56cae 50/60: Update README, Stefan Monnier, 2019/10/08
- [elpa] externals/async b13baeb 47/60: Fix two issues in async-inject-variables, Stefan Monnier, 2019/10/08
- [elpa] externals/async 6fa6a86 49/60: Don't quote numbers as well, Stefan Monnier, 2019/10/08
- [elpa] externals/async caad15c 42/60: Bump to 1.9.3, Stefan Monnier, 2019/10/08
- [elpa] externals/async 373b32a 55/60: Remove props recursively when injecting vars with NOPROPS, Stefan Monnier, 2019/10/08
- [elpa] externals/async 81dc034 54/60: Merge pull request #107 from CeleritasCelery/master, Stefan Monnier, 2019/10/08
- [elpa] externals/async f61f1db 60/60: Merge pull request #113 from jwiegley/smonnier_patch, Stefan Monnier, 2019/10/08
- [elpa] externals/async 5e353eb 59/60: Change deps management in async-bytecomp.el, Stefan Monnier, 2019/10/08
- [elpa] externals/async 29e6144 07/60: Allow non list bindings in async-let., Stefan Monnier, 2019/10/08