From 5be9820df8edc641a6f3cca47a33482ec95dc42f Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Wed, 27 Apr 2011 10:42:44 -0500 Subject: [PATCH] Fixup for .html generation --- auto/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/auto/Makefile b/auto/Makefile index 977c343..f4a24d1 100644 --- a/auto/Makefile +++ b/auto/Makefile @@ -321,7 +321,7 @@ $(D.DEST)/%.html: doc/%.html @echo "Creating $(@F)" @echo "--------------------------------------------------------------------" cat $(SRC)/header.html $< $(SRC)/footer.html | \ - perl -pe 's#\(.*\)#\1#' > $@ + perl -pe 's#(.*)#\1#' > $@ $(D.DEST)/glew.html: $(EXT)/.dummy @echo "--------------------------------------------------------------------" @@ -331,7 +331,7 @@ $(D.DEST)/glew.html: $(EXT)/.dummy echo -e "

Supported OpenGL Extensions

\n" >> $@ $(BIN)/make_html.pl $(GL_EXT_SPEC) >> $@ cat $(SRC)/footer.html >> $@ - perl -i -pe 's#\(.*\)#\1#' $@ + perl -i -pe 's#(.*)#\1#' $@ $(D.DEST)/wglew.html: $(EXT)/.dummy @echo "--------------------------------------------------------------------" @@ -341,7 +341,7 @@ $(D.DEST)/wglew.html: $(EXT)/.dummy echo -e "

Supported WGL Extensions

\n" >> $@ $(BIN)/make_html.pl $(WGL_EXT_SPEC) >> $@ cat $(SRC)/footer.html >> $@ - perl -i -pe 's#\(.*\)#\1#' $@ + perl -i -pe 's#(.*)#\1#' $@ $(D.DEST)/glxew.html: $(EXT)/.dummy @echo "--------------------------------------------------------------------" @@ -351,7 +351,7 @@ $(D.DEST)/glxew.html: $(EXT)/.dummy echo -e "

Supported GLX Extensions

\n" >> $@ $(BIN)/make_html.pl $(GLX_EXT_SPEC) >> $@ cat $(SRC)/footer.html >> $@ - perl -i -pe 's#\(.*\)#\1#' $@ + perl -i -pe 's#(.*)#\1#' $@ $(B.DEST)/%.rc: src/%.rc $(EXT)/.dummy perl -e "s/GLEW_MAJOR/$(GLEW_MAJOR)/g;s/GLEW_MINOR/$(GLEW_MINOR)/g;s/GLEW_MICRO/$(GLEW_MICRO)/g;" -p $< > $@