From 8b4e7131df42d9c4dcdf02835ae8d786e070c2a1 Mon Sep 17 00:00:00 2001 From: sasha Date: Wed, 12 Mar 2008 14:02:14 +0000 Subject: - [DEV-137] fir for dbschema.c [svn merge svn://svn.zabbix.com/tags/1.5 -r5477:5480] git-svn-id: svn://svn.zabbix.com/trunk@5481 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- create/Makefile.am | 2 +- create/schema/Makefile.am | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 create/schema/Makefile.am (limited to 'create') diff --git a/create/Makefile.am b/create/Makefile.am index 05a89596..4220dd09 100644 --- a/create/Makefile.am +++ b/create/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in -SUBDIRS = schema +#SUBDIRS = schema EXTRA_DIST = \ data/data.sql \ diff --git a/create/schema/Makefile.am b/create/schema/Makefile.am deleted file mode 100644 index 22744401..00000000 --- a/create/schema/Makefile.am +++ /dev/null @@ -1,18 +0,0 @@ -## Process this file with automake to produce Makefile.in - -## "dist-hook" run after the distribution directory is filled, but before the actual tar (or shar) file is created. -dist-hook: - $(srcdir)/gen.pl mysql > $(distdir)/mysql.sql - $(srcdir)/gen.pl postgresql > $(distdir)/postgresql.sql - $(srcdir)/gen.pl sqlite > $(distdir)/sqlite.sql - $(srcdir)/gen.pl oracle > $(distdir)/oracle.sql - $(srcdir)/gen.pl c >$(top_distdir)/src/libs/zbxdbhigh/dbschema.c - echo -e "\n#ifdef HAVE_MYSQL\nconst char *db_schema= {\"\\" >>$(top_distdir)/src/libs/zbxdbhigh/dbschema.c - cat $(distdir)/mysql.sql|sed -e 's/\t\t*/ /g' -e 's/$$/\\/' >>$(top_distdir)/src/libs/zbxdbhigh/dbschema.c - echo -e "\"};\n#elif HAVE_POSTGRESQL\nconst char *db_schema = {\"\\" >>$(top_distdir)/src/libs/zbxdbhigh/dbschema.c - cat $(distdir)/postgresql.sql|sed -e 's/\t\t*/ /g' -e 's/$$/\\/' >>$(top_distdir)/src/libs/zbxdbhigh/dbschema.c - echo -e "\"};\n#elif HAVE_ORACLE\nconst char *db_schema = {\"\\" >>$(top_distdir)/src/libs/zbxdbhigh/dbschema.c - cat $(distdir)/oracle.sql|sed -e 's/\t\t*/ /g' -e 's/$$/\\/' >>$(top_distdir)/src/libs/zbxdbhigh/dbschema.c - echo -e "\"};\n#elif HAVE_SQLITE3\nconst char *db_schema = {\"\\" >>$(top_distdir)/src/libs/zbxdbhigh/dbschema.c - cat $(distdir)/sqlite.sql|sed -e 's/\t\t*/ /g' -e 's/$$/\\/' >>$(top_distdir)/src/libs/zbxdbhigh/dbschema.c - echo -e "\"};\n#endif /* HAVE_SQLITE3 */\n" >>$(top_distdir)/src/libs/zbxdbhigh/dbschema.c -- cgit