X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=Makefile;h=4aa16f97cbc07007cabc5aff3a8dfc38a03e5005;hb=8d74b4359e4bb6a3891f30f27cbb47b47e8a6ccb;hp=d7ed18f606a3188080bceb5fa98f01168f34aebf;hpb=228c70186157d7184c235f38a72c4a4d9ce77164;p=spectrwm.git diff --git a/Makefile b/Makefile index d7ed18f..4aa16f9 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,24 @@ # $scrotwm$ .include +PREFIX?=/usr/local + +BINDIR=${PREFIX}/bin SUBDIR= lib PROG=scrotwm -MAN=scrotwm.1 scrotwm_es.1 +MAN=scrotwm.1 scrotwm_es.1 scrotwm_it.1 scrotwm_pt.1 scrotwm_ru.1 CFLAGS+=-std=c89 -Wall -Wno-uninitialized -ggdb3 +# Uncomment define below to disallow user settable clock format string +#CFLAGS+=-DSWM_DENY_CLOCK_FORMAT CPPFLAGS+= -I${X11BASE}/include LDADD+=-lutil -L${X11BASE}/lib -lX11 -lXrandr -MANDIR= ${X11BASE}/man/cat +MANDIR= ${PREFIX}/man/cat + +scrotwm_ru.cat1: scrotwm_ru.1 + nroff -mandoc ${.CURDIR}/scrotwm_ru.1 > ${.TARGET} obj: _xenocara_obj