10.9 install doc formatting
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Sun, 25 May 2014 23:19:14 +0000 (16:19 -0700)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Sun, 25 May 2014 23:19:14 +0000 (16:19 -0700)
docs/installation.md

index 5ad6c6c..1210bfc 100644 (file)
@@ -124,16 +124,14 @@ The prerequisite homebrew formulae are
 
 For each of these formulas, `brew edit FORMULA`, and add the ENV definitions as shown:
 
-```
-    def install
-        # ADD THE FOLLOWING:
-        ENV.append "CXXFLAGS", "-stdlib=libstdc++"
-        ENV.append "CFLAGS", "-stdlib=libstdc++"
-        ENV.append "LDFLAGS", "-stdlib=libstdc++ -lstdc++"
-        # The following is necessary because libtool likes to strip LDFLAGS:
-        ENV["CXX"] = "/usr/bin/clang -stdlib=libstdc++"
-        ...
-```
+      def install
+          # ADD THE FOLLOWING:
+          ENV.append "CXXFLAGS", "-stdlib=libstdc++"
+          ENV.append "CFLAGS", "-stdlib=libstdc++"
+          ENV.append "LDFLAGS", "-stdlib=libstdc++ -lstdc++"
+          # The following is necessary because libtool likes to strip LDFLAGS:
+          ENV["CXX"] = "/usr/bin/clang -stdlib=libstdc++"
+          ...
 
 To edit the formulae in turn, run