aboutsummaryrefslogtreecommitdiffstats
path: root/help/sgmldocs.make
diff options
context:
space:
mode:
Diffstat (limited to 'help/sgmldocs.make')
-rw-r--r--help/sgmldocs.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/help/sgmldocs.make b/help/sgmldocs.make
index ba491eb098..fee6bc4231 100644
--- a/help/sgmldocs.make
+++ b/help/sgmldocs.make
@@ -50,7 +50,8 @@ omf: omf_timestamp
omf_timestamp: $(omffile)
-for file in $(srcdir)/$(omffile); do \
- scrollkeeper-preinstall $(docdir)/$(docname).sgml $$file $(omf_dir)/$$file; \
+ basefile=`echo $$file | sed -e 's,^.*/,,'`; \
+ scrollkeeper-preinstall $(docdir)/$(docname).sgml $$file $(omf_dir)/$$basefile; \
done
touch omf_timestamp