Possible patch for sgmldocs.make
- From: Peter Williams <peterw ximian com>
- To: gnome-doc-list gnome org
- Subject: Possible patch for sgmldocs.make
- Date: 22 Aug 2001 18:27:19 -0400
Hi everyone,
In the course of compiling Evolution, I noticed that sgmldocs.make
didn't copy the OMF file to omf-install/ correctly when srcdir !=
builddir. The attached patch changes sgmldocs.make to fix the problem,
but I'm not sure if it's needed; an alternative solution would be to
change our Makefile.am's to say
omffile = $(srcdir)/evolution-C.omf
instead of
omffile = evolution-C.omf
So, can someone please commit this if it's needed? I have no idea where
to put it. Thanks,
Peter
(Please CC: as I'm not on this list)
--
Peter Williams peter newton cx / peterw ximian com
"Why should I have to change my name? He's the one who
sucks!" -- Michael Bolton
Index: sgmldocs.make
===================================================================
RCS file: /cvs/gnome/evolution/help/sgmldocs.make,v
retrieving revision 1.1
retrieving revision 1.3
diff -u -r1.1 -r1.3
--- sgmldocs.make 2001/08/15 20:26:24 1.1
+++ sgmldocs.make 2001/08/22 22:11:18 1.3
@@ -49,8 +49,9 @@
omf: omf_timestamp
omf_timestamp: $(omffile)
- -for file in $(omffile); do \
- scrollkeeper-preinstall $(docdir)/$(docname).sgml $$file $(omf_dir)/$$file; \
+ -for file in $(srcdir)/$(omffile); do \
+ basefile=`echo $$file | sed -e 's,^.*/,,'`; \
+ scrollkeeper-preinstall $(docdir)/$(docname).sgml $$file $(omf_dir)/$$basefile; \
done
touch omf_timestamp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]