X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=Makefile;h=4aa16f97cbc07007cabc5aff3a8dfc38a03e5005;hb=c2adf746f6c01b3d919f9505c67bc7526f39e3db;hp=16a2bb87827d677b21396572d291955ccc90c0de;hpb=367ce80e698570928030a44ab023521c0ad9ee89;p=spectrwm.git diff --git a/Makefile b/Makefile index 16a2bb8..4aa16f9 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,24 @@ # $scrotwm$ .include +PREFIX?=/usr/local + +BINDIR=${PREFIX}/bin +SUBDIR= lib + PROG=scrotwm -NOMAN= -#MAN=scrotwm.1 +MAN=scrotwm.1 scrotwm_es.1 scrotwm_it.1 scrotwm_pt.1 scrotwm_ru.1 -CFLAGS+=-Wall -Wno-uninitialized +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