From c3c9c0ed84d5acb2b7d097c02b2c156e6c55aaab Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sat, 1 Mar 2003 22:50:48 +0000
Subject: [PATCH] cleanup doc

---
 Makefile                         |  6 +++---
 doc/README.devel                 | 16 +++++++++++++++-
 doc/README.indent                |  9 ---------
 doc/README.leaks                 | 10 ----------
 doc/{README.txt => README.win32} |  2 +-
 doc/VERSIONS.tmp                 |  0
 6 files changed, 19 insertions(+), 24 deletions(-)
 delete mode 100644 doc/README.indent
 delete mode 100644 doc/README.leaks
 rename doc/{README.txt => README.win32} (91%)
 delete mode 100644 doc/VERSIONS.tmp

diff --git a/Makefile b/Makefile
index 30bee9396e..f412af5c3b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.268 2003-03-01 22:36:36 geuzaine Exp $
+# $Id: Makefile,v 1.269 2003-03-01 22:50:48 geuzaine Exp $
 
 include variables
 
@@ -42,7 +42,7 @@ source-common:
 	rm -rf gmsh-${GMSH_RELEASE}
 	tar zcvf gmsh.tgz `ls README* */README* configure *.in Makefile */Makefile\
                            */*.[chyl] */*.[ch]pp */*.rc */*.res */*.r */*.ico */*.icns\
-                           */*.pl */*.pm */*.opt */*.spec`\
+                           */*.pl */*.pm */*.sh */*.opt */*.spec`\
                            doc demos tutorial
 	mkdir gmsh-${GMSH_RELEASE}
 	cd gmsh-${GMSH_RELEASE} && tar zxvf ../gmsh.tgz
@@ -148,7 +148,7 @@ package-windows:
 	strip bin/gmsh.exe
 	cp /usr/bin/cygwin1.dll gmsh-${GMSH_RELEASE}
 	cp bin/gmsh.exe gmsh-${GMSH_RELEASE}
-	cp doc/README.txt gmsh-${GMSH_RELEASE}
+	cp doc/README.win32 gmsh-${GMSH_RELEASE}/README.txt
 	cp doc/FORMATS gmsh-${GMSH_RELEASE}/FORMATS.txt
 	cp doc/VERSIONS gmsh-${GMSH_RELEASE}/VERSIONS.txt
 	cp doc/FAQ gmsh-${GMSH_RELEASE}/FAQ.txt
diff --git a/doc/README.devel b/doc/README.devel
index 8932dbd322..16859f5b47 100644
--- a/doc/README.devel
+++ b/doc/README.devel
@@ -3,9 +3,10 @@ Some easy rules to make the code easy to read/debug/maintain:
 
 - please enable full warnings for your compiler (e.g. gcc -Wall)
 - always use Msg() to print information/errors/etc.
-- indent your files using ../utils/gmshindent
+- indent your files using ../utils/indent.sh
 - if working on Windows, don't leave tabs in your files (../utils/untabify)
 
+===========================================================================
 
 How to add an option in the graphical user interface?
 
@@ -28,4 +29,17 @@ Optional:
 handling routine opt_XXX to the OK callback for the corresponding
 option panel (in Fltk/Callbacks.cpp).
 
+===========================================================================
 
+Tools to check memory leaks
+
+* LIBNJAMD
+
+  export LD_PRELOAD=libnjamd.so
+  kill -USR1
+
+* valgrind
+
+* purify
+
+* memprof
diff --git a/doc/README.indent b/doc/README.indent
deleted file mode 100644
index 5383d8aee3..0000000000
--- a/doc/README.indent
+++ /dev/null
@@ -1,9 +0,0 @@
-
-All code should be preferably formatted using ../utils/gmshindent
-
-indent --braces-on-if-line --cuddle-do-while --honour-newlines --no-space-after-casts --no-space-after-function-call-names --no-space-after-for --no-space-after-if --no-space-after-while --no-tabs --dont-format-comments --comment-indentation1 --dont-break-procedure-type */*.cpp
-
-
-If we don't want the return type on the same line as the function name, just remove
-
---dont-break-procedure-type
diff --git a/doc/README.leaks b/doc/README.leaks
deleted file mode 100644
index 1e197d2a04..0000000000
--- a/doc/README.leaks
+++ /dev/null
@@ -1,10 +0,0 @@
-* LIBNJAMD
-
-  export LD_PRELOAD=libnjamd.so
-  kill -USR1
-
-* valgrind
-
-* purify
-
-* memprof
diff --git a/doc/README.txt b/doc/README.win32
similarity index 91%
rename from doc/README.txt
rename to doc/README.win32
index fac90cc911..811a44c1b3 100644
--- a/doc/README.txt
+++ b/doc/README.win32
@@ -1,4 +1,4 @@
-$Id: README.txt,v 1.6 2003-02-21 06:56:57 geuzaine Exp $
+$Id: README.win32,v 1.1 2003-03-01 22:50:48 geuzaine Exp $
 
 For Windows versions of Gmsh only:
 ==================================
diff --git a/doc/VERSIONS.tmp b/doc/VERSIONS.tmp
deleted file mode 100644
index e69de29bb2..0000000000
-- 
GitLab