Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hack to work around crap like xpdf that doesn't destroy transient
[spectrwm.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
2e564ee
..
0f5e7b5
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,16
+1,24
@@
# $scrotwm$
.include <bsd.xconf.mk>
# $scrotwm$
.include <bsd.xconf.mk>
-SUBDIR= lib
+PREFIX?=/usr/local
+
+BINDIR=${PREFIX}/bin
+SUBDIR= lib unicon
PROG=scrotwm
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
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
obj: _xenocara_obj