--- noweb-2.11b.old/src/Makefile +++ noweb-2.11b/src/Makefile @@ -3,7 +3,7 @@ # # Adjust these two lines for your ANSI C compiler CC=gcc -ansi -pedantic -CFLAGS= +CFLAGS=-DTEMPNAM # If you have Icon, you should use the Icon versions of the noweb pipeline. # Set LIBSRC=icon LIBSRC=awk @@ -18,12 +18,12 @@ # MAN7EXT is the extension for the nowebstyle man page (usually 7) # TEXINPUTS is the directory for TeX macro files # ELISP is the directory for emacs lisp files, or /dev/null not to install -BIN=/usr/local/noweb -LIB=/usr/local/noweb/lib -MAN=/usr/local/noweb/man +BIN=__META_PREFIX__/bin +LIB=__META_PREFIX__/lib +MAN=__META_PREFIX__/man MANEXT=1 MAN7EXT=7 -TEXINPUTS=/usr/local/tex/inputs +TEXINPUTS=$(shell kpsewhich -expand-var='$$TEXMFLOCAL')/tex/latex/noweb ELISP=/dev/null # change WEAVE if you want a different version of noweave to be installed