diff --git a/auto/Makefile b/auto/Makefile index d8d00f9..6adaea6 100644 --- a/auto/Makefile +++ b/auto/Makefile @@ -13,6 +13,7 @@ GLEW_VERSION = $(GLEW_MAJOR).$(GLEW_MINOR).$(GLEW_MICRO) SHELL = bash REGISTRY = registry +REGISTRY_URL = http://oss.sgi.com/projects/ogl-sample/registry/ BIN = bin SRC = src CORE = core @@ -26,18 +27,21 @@ I.DEST = $(TOP)/include/GL S.DEST = $(TOP)/src D.DEST = $(TOP)/doc -TARGETS = $(I.DEST)/glew.h $(I.DEST)/wglew.h $(I.DEST)/glxew.h $(S.DEST)/glew.c $(S.DEST)/glewinfo.c $(D.DEST)/glew.html $(D.DEST)/wglew.html $(D.DEST)/glxew.html +TARGETS = $(I.DEST)/glew.h $(I.DEST)/wglew.h $(I.DEST)/glxew.h $(S.DEST)/glew.c $(S.DEST)/glewinfo.c \ + $(D.DEST)/glew.html $(D.DEST)/wglew.html $(D.DEST)/glxew.html all: $(TARGETS) +registry: $(REGISTRY)/.dummy ext: $(EXT)/.dummy $(REGISTRY)/.dummy: $(BIN)/update_registry.sh - $(BIN)/update_registry.sh $(REGISTRY) + $(BIN)/update_registry.sh $(REGISTRY) $(REGISTRY_URL) + sed -i -e '7s/\