]> pd.if.org Git - uuid/blobdiff - postgres/Makefile
remove unused variable from makefile
[uuid] / postgres / Makefile
index 1c242628d29aba15adedd94de4355334fd298c6a..6ea6b320ffcc32f90561b261709b3dc493e2f70a 100644 (file)
@@ -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