From: Cédric Villemain Date: Wed, 7 Dec 2011 11:32:37 +0000 (+0100) Subject: Minor update to the makefile X-Git-Tag: 1.1.1~1 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=9ae592cc925ee94b3a2c79f86fa2bc04be03c702;p=pgfincore.git Minor update to the makefile use $(wildcard) instead of $(shell ls) --- diff --git a/Makefile b/Makefile index 97188ea..661f033 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ all: $(EXTENSION)--$(EXTVERSION).sql $(EXTENSION)--unpackaged--$(EXTVERSION).sql $(EXTENSION)--$(EXTVERSION).sql: $(EXTENSION).sql cp $< $@ -# this build the extension--unpackaged-version.sql from uninstall_extension.sql +# this build the extension--unpackaged--version.sql from uninstall_extension.sql $(EXTENSION)--unpackaged--$(EXTVERSION).sql: uninstall_$(EXTENSION).sql sed 's/DROP /ALTER EXTENSION $(EXTENSION) ADD /' $< > $@ @@ -38,8 +38,8 @@ endif # Workaround for lack of good VPATH support in pgxs for extension/contrib ifdef VPATH pgext_files_build:= $(addprefix $(CURDIR)/, $(pgext_files)) -pgext_reg_files:= $(addprefix $(CURDIR)/sql/, $(shell ls $(VPATH)/sql)) -pgext_reg_exp:= $(addprefix $(CURDIR)/expected/, $(shell ls $(VPATH)/expected)) +pgext_reg_files := $(addprefix $(CURDIR)/sql/, $(notdir $(wildcard $(VPATH)/sql/*.sql))) +pgext_reg_exp := $(addprefix $(CURDIR)/expected/, $(notdir $(wildcard $(VPATH)/expected/*.out))) all: $(pgext_files_build) $(pgext_reg_files) $(pgext_reg_exp) $(pgext_files_build): $(CURDIR)/%: $(VPATH)/% cp $< $@ diff --git a/TODO b/TODO index 6521066..456068f 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,4 @@ -* average contigous block or stats like that (what part of the file is in cache) -* split mmaping in shorter segment (say 64Mb) per sugestion from Andres Freund +* [sql] average contigous block or stats like that (what part of the file is in cache) +* [code] split mmaping in shorter segment (say 64Mb) per sugestion from Andres Freund * graph +* [debian] package checks and do make installcheck