From 65a9f6a4433f36b8017e6f19b4bb616bf075d6f9 Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Tue, 18 Dec 2018 18:15:36 +0100
Subject: added 'local' option to Makefile

---
 ekdosis.dtx | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

(limited to 'ekdosis.dtx')

diff --git a/ekdosis.dtx b/ekdosis.dtx
index 672b228..3170f41 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -93,6 +93,14 @@ Running "make install" installs the files in the local TeX tree.
 \generate{
   \file{\jobname.sty}{\from{\jobname.dtx}{package}}
 }
+\nopreamble\nopostamble
+\usedir{tex/lualatex/ekdosis}
+\generate{
+  \file{\jobname.lua}{
+  \from{\jobname.dtx}{luapre}
+  \from{\jobname.dtx}{lua}
+  }
+}
 %</install>
 %<install>\endbatchfile
 %<*internal>
@@ -105,12 +113,6 @@ Running "make install" installs the files in the local TeX tree.
 \generate{
   \file{README.txt}{\from{\jobname.dtx}{readme}}
 }
-\usedir{tex/lualatex/ekdosis}
-\generate{
-  \file{ekdosis.lua}{
-    \from{\jobname.dtx}{luapre}
-    \from{\jobname.dtx}{lua}}
-}
 \ifx\fmtname\nameofplainTeX
   \expandafter\endbatchfile
 \else
-- 
cgit v1.2.3

