webshob target, quiet pdflatex, etc. in the template
authorReinhold Kainhofer <reinhold@kainhofer.com>
Thu, 28 Jul 2011 13:01:44 +0000 (28 15:01 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Thu, 28 Jul 2011 13:01:44 +0000 (28 15:01 +0200)
Templates/EK_Full/Makefile
generate_oly_score.py

index cedb200..909ebc0 100644 (file)
@@ -57,7 +57,7 @@ latex: <$ for w in works $>$(pdfs<< w.nr >>) <$ endfor $>$(texpdfs)
 latexpdf: $(texpdfs)
 
 $(OUT)/TeX_%.pdf : TeX_%.tex
-       TEXINPUTS=$(OUT):orchestrallily/:.//: pdflatex --output-directory=$(OUT)/ $<
+       TEXINPUTS=$(OUT):orchestrallily/:.//: pdflatex -interaction=batchmode --output-directory=$(OUT)/ $<
 <$- endif $>
 
 zipdir = $(base)_Final
@@ -67,4 +67,8 @@ dist: $(distfiles)
        rename 's/TeX_//' $(zipdir)/*
        rename 's/Score_(Full|Long)\./Score./' $(zipdir)/*
        zip -jr $(base).zip $(zipdir)
-       rm -rf $(zipdir)
\ No newline at end of file
+       rm -rf $(zipdir)
+
+
+webshop: $(distfiles)
+       python ../../Diverses/Webshop/EditionKainhofer_CSVI_Generate.py "<< settings_file >>" $(distfiles)
index 851bf07..716cd3f 100755 (executable)
@@ -56,6 +56,8 @@ class Settings:
   def __init__ (self):
     settings_file = self.load_options ();
     self.load (settings_file);
+    self.raw_data["settings_file_path"] = settings_file;
+    self.raw_data["settings_file"] = os.path.basename(settings_file);
     self.init_template_env ();
     self.init_arrays ();