From e42bbb962e2b7b1efa05982d284fa45c883edd41 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 13 Oct 2017 11:39:50 -0400 Subject: org header cosmetic & maker.org/makefile --- tangle | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tangle') diff --git a/tangle b/tangle index 79b884b..ff290c2 100755 --- a/tangle +++ b/tangle @@ -4,9 +4,10 @@ DIR=`pwd` ORGFILES="" EMACSLISP=/usr/share/emacs/site-lisp -ORG_VERSION=20160725 -EMACSLISP_ORG=~/.emacs.d/elpa/org-$($(shell echo $(ORG_VERSION))) -EMACSLISP_ORG_CONTRIB=~/.emacs.d/elpa/org-plus-contrib-$($(shell echo $(ORG_VERSION))) +ORG_VER_AVAILABLE=$(shell echo `ls -d ~/.emacs.d/elpa/org-???????? | cut -d '-' -f2`) +EMACSLISP_ORG=~/.emacs.d/elpa/org-$($(shell echo $(ORG_VER_AVAILABLE))) +ORG_CONTRIB_VER_AVAILABLE=$(shell echo `ls -d ~/.emacs.d/elpa/org-plus-???????? | cut -d '-' -f2`) +EMACSLISP_ORG_CONTRIB=~/.emacs.d/elpa/org-plus-contrib-$($(shell echo $(ORG_CONTRIB_VER_AVAILABLE))) # wrap each argument in the code required to call tangle on it for i in $@; do ORGFILES="$ORGFILES \"$i\"" -- cgit v1.2.3