Make DATADIR available to code
[clawsker.git] / Makefile
index 787ca93..93d96e8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ all: build
 
 build:
        -mkdir build
 
 build:
        -mkdir build
-       sed -e "s,@PREFIX@,${PREFIX},;s,@LIBDIR@,${LIBDIR},;s,@VERSION@,${VERSION}," < ${NAME} > build/${NAME}
+       sed -e "s,@PREFIX@,${PREFIX},;s,@LIBDIR@,${LIBDIR},;s,@VERSION@,${VERSION},;s,@DATADIR@,${DATADIR}," < ${NAME} > build/${NAME}
        pod2man --release ${VERSION} -c '' ${NAME}.pod > build/${NAME}.1
        ${MAKE} -C po build
        
        pod2man --release ${VERSION} -c '' ${NAME}.pod > build/${NAME}.1
        ${MAKE} -C po build