[PATCH] Fix for gnome-panel/sgmldocs.make - a common Gnome bug


This patch replaces the leading spaces with tabs. If the spaces are
there the generated makefiles have lots of problems. The patch is
against the gnome-2-2 branch.

This problem is _very_ common with many of the gnome packages. It would
be good for any maintainer to look at the 'sgmldocs.make' and
'xmldocs.make' file in their program and check that there are no leading
spaces at the line starting '-ourdir'.

Art Haas

Index: sgmldocs.make
RCS file: /cvs/gnome/gnome-panel/sgmldocs.make,v
retrieving revision 1.2
diff -u -u -r1.2 sgmldocs.make
--- sgmldocs.make	28 Jul 2001 17:36:38 -0000	1.2
+++ sgmldocs.make	30 Apr 2003 10:25:30 -0000
@@ -58,9 +58,9 @@
 	-cp $(docname)/index.html .
 $(docname).sgml: $(sgml_ents)
-        -ourdir=`pwd`;  \
-        cd $(srcdir);   \
-        cp $(sgml_ents) $$ourdir
+	-ourdir=`pwd`;  \
+	cd $(srcdir);   \
+	cp $(sgml_ents) $$ourdir
 # The weird srcdir trick is because the db2html from the Cygnus RPMs

To announce that there must be no criticism of the President, or that we
are to stand by the President, right or wrong, is not only unpatriotic
and servile, but is morally treasonable to the American public.
 -- Theodore Roosevelt, Kansas City Star, 1918

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]