X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=postgres%2FMakefile;h=6ea6b320ffcc32f90561b261709b3dc493e2f70a;hb=43e71ffe4825884ebee76402862f9d76daa15aa3;hp=1c242628d29aba15adedd94de4355334fd298c6a;hpb=c7e13d717c38e528ae241bf5facb51bca63f323c;p=uuid diff --git a/postgres/Makefile b/postgres/Makefile index 1c24262..6ea6b32 100644 --- a/postgres/Makefile +++ b/postgres/Makefile @@ -1,10 +1,12 @@ # makefile for postgres uuid type support functions # written by nathan wagner and placed in the public domain +VERSIONS=1.0 1.0.1 1.1 +UPGRADES=1.0--1.0.1 1.0.1--1.1 + EXTENSION=pduuid -MODULES= pduuid -DATA= pduuid--1.0.sql -#DOCS= README.uuid_ossp +#MODULES= pduuid +DATA= $(addprefix $(EXTENSION)--, $(addsuffix .sql, $(VERSIONS) $(UPGRADES))) #SHLIB_LINK= -Lpduuid -lpduuid MODULE_big= pduuid OBJS= uuid.o ../internal.o ../rng.o ../md5.o ../sha1.o @@ -19,3 +21,6 @@ include $(PGXS) ifeq ($(PORTNAME), darwin) LDFLAGS_SL += -flat_namespace -undefined suppress endif + +test: + pg_prove t/*.sql