Fix reproducibility issues when generating .eps files
[pspp] / doc / doc-make.in
index 333dce83825b950e693a7b3973e20d549d46beb3..07eca7ba7252e8d0a5d4548124526b661b87fec6 100644 (file)
@@ -65,8 +65,8 @@ $(top_srcdir)/doc/screenshots/%-hc.xwd: src/ui/gui/psppire $(top_srcdir)/doc/scr
        convert $< $@
 
 %.eps: %.xwd
-       convert $< $@
-
+       convert $< $@,tmp.eps
+       sed -e '/^%%CreationDate: /d' -e '/^%%Title: /s|$(top_srcdir)/||'  $@,tmp.eps > $@
 
 $(src_ui_gui_psppiredir)/%.ui: $(top_srcdir)/src/ui/gui/%.ui
        @$(MKDIR_P) ${dir $@}