make zod an executable

This commit is contained in:
nuex 2011-10-06 12:35:54 -04:00
parent 23908cbe0b
commit a154d81e8b

View File

@ -3,12 +3,12 @@ include config.mk
all: all:
@echo Compiling zod executable @echo Compiling zod executable
@sed "s#ZODLIB_PATH#${AWKLIB}#g" < bin/zod.template > bin/zod @sed "s#ZODLIB_PATH#${AWKLIB}#g" < bin/zod.template > bin/zod
@chmod 755 bin/zod
@echo Compiled @echo Compiled
install: all install: all
@echo Installing zod executable to ${PREFIX}/bin @echo Installing zod executable to ${PREFIX}/bin
@mkdir -p ${PREFIX}/bin @mkdir -p ${PREFIX}/bin
@chmod 755 ${PREFIX}/bin/zod
@echo Installing awk lib files to ${AWKLIB} @echo Installing awk lib files to ${AWKLIB}
@mkdir -p ${AWKLIB} @mkdir -p ${AWKLIB}
@cp lib/render.awk ${AWKLIB}/ @cp lib/render.awk ${AWKLIB}/