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

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

[elpa] scratch/org-edna 03a6a95 03/72: Added Makefile.


From: Ian Dunn
Subject: [elpa] scratch/org-edna 03a6a95 03/72: Added Makefile.
Date: Sun, 21 May 2017 21:11:18 -0400 (EDT)

branch: scratch/org-edna
commit 03a6a957ee663cf1b80b4f9b541342dba8bdd992
Author: Ian D <address@hidden>
Commit: Ian D <address@hidden>

    Added Makefile.
---
 Makefile | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..fcac54f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,41 @@
+# This is part of org-bat
+#
+#  Copyright (C) 2017 Ian Dunn.
+#
+#  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 of the License, 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.  If not, see <http://www.gnu.org/licenses/>.
+
+EMACS=emacs --batch
+ALLSRC=org-bat.el
+SOURCE=$(ALLSRC)
+TARGET=$(patsubst %.el,%.elc,$(SOURCE))
+
+all: $(TARGET)
+
+compile: $(TARGET)
+
+%.elc: %.el
+       @$(EMACS) \
+       -L "." \
+       -f batch-byte-compile $<
+
+autoloads: org-bat-autoloads.el
+
+org-bat-autoloads.el:
+       @$(EMACS) \
+       --eval "(require 'package)" \
+       --eval "(setq inhibit-message t)" \
+       --eval "(package-generate-autoloads \"org-bat\" \"$$(pwd)\")"
+
+clean:
+       -rm -f *.elc



reply via email to

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