X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=0f5e7b5226f15f0e372520d991ae114e6ccf5ff6;hb=af851bfc41facb5b4632d8b9938df2813be61684;hp=030e2ac25c51f1c0a66a7f6c51596c8e3a061689;hpb=9ad2929d80da20ae30fa3c239f1112f99d5f963a;p=spectrwm.git diff --git a/Makefile b/Makefile index 030e2ac..0f5e7b5 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,24 @@ # $scrotwm$ .include +PREFIX?=/usr/local + +BINDIR=${PREFIX}/bin +SUBDIR= lib unicon + PROG=scrotwm -MAN=scrotwm.1 +MAN=scrotwm.1 scrotwm_es.1 scrotwm_it.1 scrotwm_pt.1 scrotwm_ru.1 -CFLAGS+=-Wall -Wno-uninitialized -ggdb3 +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