From ad520bcb9ca1bdb2238bae2d27b768d5aa5a63d2 Mon Sep 17 00:00:00 2001
From: kthoden <kthoden@mpiwg-berlin.mpg.de>
Date: Fri, 28 Feb 2020 17:36:02 +0100
Subject: [PATCH] Adding django and epub targets

---
 src/process_tei.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/process_tei.py b/src/process_tei.py
index 6b42cf5..6c3a024 100755
--- a/src/process_tei.py
+++ b/src/process_tei.py
@@ -46,6 +46,12 @@ def main(
     exec_command(
         f"tei2html.py -! --filename \"with_bibl.xml\" \"{DEFAULT_OUTPUT_DIR}/with_bibl/{PUBL_NAME}\""
     )
+    exec_command(
+        f"imxml2django.py \"{publ_dir}\""
+    )
+    exec_command(
+        f"imxml2epub.py \"{publ_dir}\""
+    )
 
 if __name__ == "__main__":