JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Disable languages as they are very much out of date
[spectrwm.git] / lib / Makefile
index c9970f4..e7c9ebe 100644 (file)
@@ -2,6 +2,8 @@
 
 .include <bsd.xconf.mk>
 
+PREFIX?=/usr/local
+
 LIB=    swmhack
 NOMAN= yes
 SRCS=  swm_hack.c
@@ -16,7 +18,7 @@ CFLAGS+= -I${X11BASE}/include
 install:
        ${INSTALL} ${INSTALL_COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
                lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
-               ${X11BASE}/lib/swmhack.so
+               ${PREFIX}/lib/
 
 .include <bsd.lib.mk>
 .include <bsd.xorg.mk>