]> andersk Git - moira.git/commitdiff
*** empty log message ***
authorkostas <kostas>
Wed, 26 Sep 1990 09:29:44 +0000 (09:29 +0000)
committerkostas <kostas>
Wed, 26 Sep 1990 09:29:44 +0000 (09:29 +0000)
db/Makefile
db/db2tbls_sql.awk

index 05cf1dfe42fce22021395d2efd9a0316a8f4a23f..6e86796ff4e3e6f272d692d0360e721e9a14d1f8 100644 (file)
@@ -6,8 +6,8 @@
 
 
 INGLIB=/usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib
-SRCS=newmoira.c tables.c imembers.c class.c
-OBJS=newmoira.o tables.o ../server/queries2.o
+SRCS=newmoira.c tables.c imembers.c class.c tables_sql.c
+OBJS=newmoira.o tables.o ../server/queries2.o tables_sql.o
 CFLAGS= -I../include -O
 .SUFFIXES: .qc
 
@@ -40,6 +40,7 @@ class.c: class.qc
 clean:
        rm -f *.o newmoira.c tables.c newmoira extractdb extract.c class class.c
        rm -f imembers.c imembers
+       rm -f tables_sql.c
 
 install: newmoira
        install -c newmoira ../bin
@@ -52,6 +53,7 @@ depend: ${SRCS}
 newmoira.o: newmoira.c ../include/mit-copyright.h /usr/include/stdio.h
 newmoira.o: ../server/query.h
 tables.o: tables.c
+tables_sql.o: tables_sql.c
 imembers.o: imembers.c /usr/include/stdio.h ../include/moira.h
 imembers.o: ../include/mr_et.h
 class.o: class.c ../include/mit-copyright.h ../include/moira.h
index 0a647bb9e4247cf53416361ece57cbb0cbe359fa..66e3c91d60e5979de1255d2906355cbe7bcbbb97 100644 (file)
@@ -9,7 +9,7 @@ BEGIN { print "/* This file is automatically generated */";
        print "char *tables[] = {";
 }
 
-/^CREATE TABLE/ { printf "     \"%s\",\n", $2; }
+/^CREATE TABLE/ { printf "     \"%s\",\n", $3; }
 
 END   { print "        0,";
        print "};"; }
This page took 0.057446 seconds and 5 git commands to generate.