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 }'
b23c39ffa8e172ab776fdbc3f06&follow=1'>Use "secure" libtls ciphersJune McEnroe 2021-07-08Use seprintf to build final 005June McEnroe 2021-06-19Fix LDADD.crypt on DarwinJune McEnroe 2021-06-18Add -m mode option to set user modesJune McEnroe 2021-06-18Document channel keys in join optionJune McEnroe 2021-06-18Use | to separate flags from config optionsJune McEnroe 2021-06-18Stop referring to server-time as IRCv3.2June McEnroe 2021-06-17Add mailing list archive to READMEJune McEnroe 2021-06-10Stop accumulating ISUPPORT tokens once MOTD startsJune McEnroe 2021-06-09Use seprintf for snip, removing strlcpynJune McEnroe 2021-06-09Use seprintf for reserializeJune McEnroe 2021-06-09Use seprintf for capListJune McEnroe 2021-06-09Add seprintfJune McEnroe 2021-05-27Add pounce-notify to README 2.4June McEnroe 2021-05-27Fix ENVIRONMENT formatting in pounce-notify(1)June McEnroe 2021-05-27Add note about Libera.Chat SASL-only rangesJune McEnroe 2021-05-25Add QUIRKS fileJune McEnroe 2021-05-19Replace freenode with tilde.chatJune McEnroe 2021-05-04notify: Reword pounce-notify manualJune McEnroe 2021-05-02Clean up Makefiles, configure scriptsJune McEnroe 2021-04-30palaver: Exit on getopt failureJune McEnroe 2021-04-30notify: Implement pounce-notifyJune McEnroe