diff --git a/Makefile b/Makefile index a3e330e..8c5bafa 100644 --- a/Makefile +++ b/Makefile @@ -20,12 +20,12 @@ all: build build: build-gauche README.md: doc/compile-scheme.1 - echo "
" > README.md
-	echo "$$(MANWIDTH=80 man -l doc/compile-scheme.1)" >> README.md
-	echo "" >> README.md
+	echo "" > README.md
 	cat README_ADDITIONAL.md >> README.md
 	echo "# Manual" >> README.md
 	echo "
" >> README.md
+	echo "$$(MANWIDTH=80 man -l doc/compile-scheme.1)" >> README.md
+	echo "
" >> README.md
 
 build-chibi:
 	echo "#!/bin/sh" > compile-scheme
diff --git a/README.md b/README.md
index e8450f1..3dfe8aa 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,44 @@
+
+# Install
+
+## Linux
+
+First install Gauche Scheme, on Debian/Ubuntu for example
+
+    apt-get install gauche
+
+Then build and install compile-scheme
+
+    make
+    make install
+
+## Mac OS
+
+First install Gauche Scheme, with brew for example
+
+    brew install gauche
+
+Then build and install compile-scheme
+
+    make
+    make install
+
+## Windows
+To install on windows first install Gauche Scheme. Then run install.bat as
+administrator.
+
+# Usage
+
+## Powershell
+
+    $env:COMPILE_SCHEME="gauche" ; compile-scheme -o main main.scm
+    .\main.bat
+
+## Wine cmd
+
+    set COMPILE_SCHEME=gauche
+
+# Manual
 
 compile-scheme(1)           General Commands Manual          compile-scheme(1)
 
@@ -130,45 +171,4 @@ EXAMPLES
                    install myapp ${PREFIX}/bin/myapp
 
                                                              compile-scheme(1)
-
-# Install
-
-## Linux
-
-First install Gauche Scheme, on Debian/Ubuntu for example
-
-    apt-get install gauche
-
-Then build and install compile-scheme
-
-    make
-    make install
-
-## Mac OS
-
-First install Gauche Scheme, with brew for example
-
-    brew install gauche
-
-Then build and install compile-scheme
-
-    make
-    make install
-
-## Windows
-To install on windows first install Gauche Scheme. Then run install.bat as
-administrator.
-
-# Usage
-
-## Powershell
-
-    $env:COMPILE_SCHEME="gauche" ; compile-scheme -o main main.scm
-    .\main.bat
-
-## Wine cmd
-
-    set COMPILE_SCHEME=gauche
-
-# Manual