only process options fi they're there.
(write_file_map): add version-seen? to snippet-map.ly
$(outdir)/%.pdf: $(outdir)/%.dvi
dvips $(DVIPS_FLAGS) -o $@.pdfps -t $(DVIPS_PAPERSIZE) $<
- ps2pdf -sPAPERSIZE=$(DVIPS_PAPERSIZE) $@.pdfps $@
+# without -dSAFER
+ gs -dCompatibilityLevel=1.2 -sPAPERSIZE=a4 -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$@ -dCompatibilityLevel=1.2 -sPAPERSIZE=a4 -c .setpdfwrite -f $@.pdfps
$(outdir)/%.html.omf: %.tely
$(call GENERATE_OMF,html)
#(ly:add-file-name-alist '(
""")
for ly in lys:
- snippet_map.write ('("%s.ly" . "%s:%d (%s.ly)")\n' \
+ snippet_map.write ('("%s.ly" . "%s:%d (%s.ly)")\n'
% (ly.basename (),
name,
ly.line_number,