Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] patch for the on-line help tutorial


Here is a patch (for the HEAD)  that changes the tutorial in the on-line help.   It reformats the makefile, so that you can copy-paste it into eclipse, and the <tab> characters are preserved.

It should be applied to org.eclipse.cdt.doc.user

        - Dave

Index: getting_started/cdt_w_newmake.htm
===================================================================
retrieving revision 1.2
diff -u -r1.2 cdt_w_newmake.htm
--- getting_started/cdt_w_newmake.htm	19 Dec 2003 20:47:29 -0000	1.2
+++ getting_started/cdt_w_newmake.htm	16 Feb 2004 21:00:47 -0000
@@ -26,21 +26,18 @@
   <li>Type the gnu make instructions below in the editor. Lines are 
   indented with tab characters, not with spaces.</li>
 
-<blockquote>
-  <p>
-  <br>
-  all: hello.exe<br>
-  <br>
-  clean:<br>
-&nbsp;&nbsp;&nbsp; rm main.o hello.exe<br>
-  <br>
-  hello.exe: main.o<br>
-&nbsp;&nbsp;&nbsp; g++ -g -o hello main.o<br>
-  <br>
-  main.o:<br>
-&nbsp;&nbsp;&nbsp; g++ -c -g main.cpp<br>
-&nbsp;</p>
-</blockquote>
+<blockquote><pre> 
+all: hello.exe
+
+clean:
+	-rm main.o hello.exe
+	
+hello.exe: main.o
+	g++ -g -o hello main.o
+main.o:
+	g++ -c -g main.cpp
+
+</pre></blockquote>
   <li>Click <b>File &gt; 
   Save</b>.</li></ol>
 

Back to the top