aboutsummaryrefslogtreecommitdiff
path: root/contrib/mysql
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/mysql')
-rw-r--r--contrib/mysql/Makefile16
-rwxr-xr-xcontrib/mysql/mysql2pgsql2
2 files changed, 17 insertions, 1 deletions
diff --git a/contrib/mysql/Makefile b/contrib/mysql/Makefile
new file mode 100644
index 00000000000..13d4c2b226f
--- /dev/null
+++ b/contrib/mysql/Makefile
@@ -0,0 +1,16 @@
+# mysql conversion Perl scripts
+# $PostgreSQL: pgsql/contrib/mysql/Makefile,v 1.1 2004/11/04 06:09:21 neilc Exp $
+
+MODULES =
+SCRIPTS = my2pg.pl mysql2pgsql
+DOCS = README.mysql
+
+ifdef USE_PGXS
+PGXS = $(shell pg_config --pgxs)
+include $(PGXS)
+else
+subdir = contrib/mysql
+top_builddir = ../..
+include $(top_builddir)/src/Makefile.global
+include $(top_srcdir)/contrib/contrib-global.mk
+endif
diff --git a/contrib/mysql/mysql2pgsql b/contrib/mysql/mysql2pgsql
index a51dfde53e3..dfe5d6ffa21 100755
--- a/contrib/mysql/mysql2pgsql
+++ b/contrib/mysql/mysql2pgsql
@@ -1,4 +1,4 @@
-# -*- perl -*-
+#!/usr/bin/perl
# mysql2pgsql
# Take a MySQL schema dump and turn it into SQL92 and PostgreSQL form.
# Thomas Lockhart, (c) 2000, PostgreSQL Inc.