Permalink
Browse files

make build directory if it doesn't exist and fix comments to SQL

  • Loading branch information...
alamb committed Sep 2, 2012
1 parent 84fce8d commit 518517c5798c02f052091848521999427984921f
Showing with 2 additions and 2 deletions.
  1. +1 −1 email_package/examples/example.sql
  2. +1 −1 email_package/makefile
@@ -1,4 +1,4 @@
SELECT EMAIL('email@vertica.com', 'This is the message subject', false, 'This is the message body');
-#assuming database w1 has column address that contains varchars
+-- assuming database w1 has column address that contains varchars
SELECT EMAIL(w1.address, 'WEATHER ALERT', true, '/home/usr/weatherAlert.txt') FROM w1;
View
@@ -9,6 +9,7 @@ all: build/myudx.so
.PHONEY: install
build/myudx.so: /opt/vertica/sdk/include/Vertica.cpp src/Email.cpp
+ mkdir -p build
$(CPP) -D HAVE_LONG_LONG_INT_64 -g -Wall -Wno-unused-value -shared -fPIC -I $(INCLUDE) -o $@ /opt/vertica/sdk/include/Vertica.cpp src/Email.cpp
@@ -24,4 +25,3 @@ uninstall: .hidden/install
clean:
rm build/myudx.so
-

0 comments on commit 518517c

Please sign in to comment.