about summary refs log tree commit diff
path: root/Makefile
blob: 9f4c5c756bf7116aaeadb4df074ced43e3fbb584 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
PREFIX ?= /usr/local
SHAREDIR ?= ${PREFIX}/share
MANDIR ?= ${SHAREDIR}/man
EXMANDIR ?= ${SHAREDIR}/exman

SYSTEMS += FreeBSD
SYSTEMS += Linux
SYSTEMS += NetBSD
SYSTEMS += OpenBSD
SYSTEMS += POSIX
SYSTEMS += macOS

all: exman
.for system in ${SYSTEMS}
	${MAKE} -C ${system} ${.TARGET}
.endfor

.SUFFIXES: .in

.in:
	sed 's|%%EXMANDIR%%|${EXMANDIR}|g' ${.IMPSRC} > ${.TARGET}
	chmod a+x ${.TARGET}

clean:
	rm -f exman
.for system in ${SYSTEMS}
	${MAKE} -C ${system} ${.TARGET}
.endfor

install: exman exman.1
	install -d ${DESTDIR}${PREFIX}/bin ${DESTDIR}${MANDIR}/man1
	install exman ${DESTDIR}${PREFIX}/bin
	install -m 644 exman.1 ${DESTDIR}${MANDIR}/man1
.for system in ${SYSTEMS}
	${MAKE} -C ${system} ${.TARGET}
.endfor

uninstall:
	rm -f ${DESTDIR}${PREFIX}/bin/exman ${DESTDIR}${MANDIR}/man1/exman.1
.for system in ${SYSTEMS}
	${MAKE} -C ${system} ${.TARGET}
.endfor

version:
	@grep '^VERSION =' */Makefile | awk '{ sum += $$3 } END { print sum }'
atgirl/commit/input.c?h=1.1p1&id=ede343431f42a35c31a188b1201b9163524e4f82&follow=1'>Never send PRIVMSG to TagStatus or TagVerboseJune McEnroe 2018-09-13Move color selection to format.cJune McEnroe 2018-09-13Fix len for format->split at end of stringJune McEnroe 2018-09-13Avoid uninitialized x in uiReadJune McEnroe 2018-09-13Add IRCDefault to colors enumJune McEnroe 2018-09-13Return a format->split even at the end of the stringJune McEnroe 2018-09-13Fix weird tab-complete after commaJune McEnroe 2018-09-13Rewrite UI againJune McEnroe 2018-09-12Add note about C-oJune McEnroe 2018-09-12Use formatParse split to position input cursorJune McEnroe 2018-09-12Factor out IRC formatting parsingJune McEnroe 2018-09-11Add /help equivalent to /manJune McEnroe 2018-09-11Don't render every PM as a pingJune McEnroe 2018-09-11Add urlOpenMatchJune McEnroe 2018-09-10Depend on man.sh for chroot.tar targetJune McEnroe 2018-09-10Set LESSSECURE=1 in man.shJune McEnroe 2018-09-10Add /man commandJune McEnroe 2018-09-10Install man page in chrootJune McEnroe 2018-09-10Install man pageJune McEnroe 2018-09-10Split keys into subsections and document colorsJune McEnroe 2018-09-10Add "blank" lines to chatte.1June McEnroe 2018-09-10Document key bindings in chatte.1June McEnroe 2018-09-08Document slash commands in chatte.1June McEnroe