|
@@ -3,12 +3,15 @@ LASTVERSION = $(shell git rev-parse HEAD )
|
|
|
|
|
|
all: compile
|
|
all: compile
|
|
|
|
|
|
-compile:
|
|
|
|
|
|
+compile: src/epgsql_errcodes.erl
|
|
@$(REBAR) compile
|
|
@$(REBAR) compile
|
|
|
|
|
|
clean:
|
|
clean:
|
|
@$(REBAR) clean
|
|
@$(REBAR) clean
|
|
|
|
|
|
|
|
+src/epgsql_errcodes.erl:
|
|
|
|
+ (cd scripts/ && ./generate.sh) > src/epgsql_errcodes.erl
|
|
|
|
+
|
|
# The INSERT is used to make sure the schema_version matches the tests
|
|
# The INSERT is used to make sure the schema_version matches the tests
|
|
# being run.
|
|
# being run.
|
|
create_testdbs:
|
|
create_testdbs:
|