From 47c83db1177f5d20c07b59b0567a39d8d691b55b Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Mon, 28 Feb 2005 13:21:48 +0000
Subject: [PATCH] Modifications pour permettre utilisation du Makefile avec
 cygwin

---
 mysql/Makefile |  3 +--
 mysql/README   |  2 ++
 pgsql/Makefile |  3 +--
 pgsql/README   | 37 +++++++++++--------------------------
 4 files changed, 15 insertions(+), 30 deletions(-)

diff --git a/mysql/Makefile b/mysql/Makefile
index 39c2863db65..7765f8be122 100644
--- a/mysql/Makefile
+++ b/mysql/Makefile
@@ -57,8 +57,7 @@ show:
 	&& make show BASE=$(BASE) OPTIONS=$(OPTIONS)
 
 drop:
-	cd tables \
-	&& make drop
+	$(SQL) $(OPTIONS) $(BASE) < drop.sql
 
 table:
 	cd tables \
diff --git a/mysql/README b/mysql/README
index a268f1e3aa8..6189c621810 100644
--- a/mysql/README
+++ b/mysql/README
@@ -1,3 +1,5 @@
+# Makefile Options
+#####################
 
 - show       Affiche la liste des tables
 
diff --git a/pgsql/Makefile b/pgsql/Makefile
index 983d6d871af..51780abc26a 100644
--- a/pgsql/Makefile
+++ b/pgsql/Makefile
@@ -58,8 +58,7 @@ show:
 	&& make show
 
 drop:
-	cd tables \
-	&& make drop
+	$(SQL) $(OPTIONS) $(BASE) < drop.sql
 
 table:
 	cd tables \
diff --git a/pgsql/README b/pgsql/README
index 9bb6fa4b826..8f89f918c0a 100644
--- a/pgsql/README
+++ b/pgsql/README
@@ -1,34 +1,19 @@
--- ============================================================================
--- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
--- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
---
--- This program is free software; you can redistribute it and/or modify
--- it under the terms of the GNU General Public License as published by
--- the Free Software Foundation; either version 2 of the License, or
--- (at your option) any later version.
---
--- This program is distributed in the hope that it will be useful,
--- but WITHOUT ANY WARRANTY; without even the implied warranty of
--- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
--- GNU General Public License for more details.
---
--- You should have received a copy of the GNU General Public License
--- along with this program; if not, write to the Free Software
--- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
---
--- $Id$
--- $Source$
---
--- ===========================================================================
+# Makefile Options
+#####################
 
 - show       Affiche la liste des tables
 
-- table      Cr�e les tables dans la base de donn�es
 
-- drop       Supprime toutes les tables de la base
+- drop       Supprime toutes les tables et cl�s de la base
+
+- table      Cr�e les tables et cl�s dans la base de donn�es
+
+- load       Charge les donn�es minimales d�finies dans data/data.sql
+
 
 - fulldev    Supprime toutes la tables, les cr�e � nouveau et charges les donn�es de dev
 
-- load       Charge les donn�es minimales d�finit dans data/data.sql
 
-- pgsql.sql  G�n�re un fichier unique sql pour l'installation
+- pgsql.sql  G�n�re un fichier sql unique pour l'installation (Contient les 
+             ordres de cr�ation des tables + cl�s et index + donn�es)
+
-- 
GitLab