forked from cdidier/irssi-xmpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (23 loc) · 1.04 KB
/
Makefile
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
include config.mk
all clean user-install user-uninstall:
@cd src/ && ${MAKE} $@
install:
@cd src/ && ${MAKE} $@
@${MAKE} doc-install help-install
uninstall: doc-uninstall help-uninstall
@cd src/ && ${MAKE} $@
doc-install:
@echo installing documentation files to ${DESTDIR}${IRSSI_DOC}/irssi-xmpp
@install -d ${DESTDIR}${IRSSI_DOC}/irssi-xmpp
@cd docs/ && install -m 644 FAQ GENERAL MUC STARTUP XEP ${DESTDIR}${IRSSI_DOC}/irssi-xmpp
doc-uninstall:
@echo uninstalling documentation files from ${DESTDIR}${IRSSI_DOC}/irssi-xmpp
@rm -rf ${DESTDIR}${IRSSI_DOC}/irssi-xmpp
help-install:
@echo installing command help files to ${DESTDIR}${IRSSI_HELP}
@install -d ${DESTDIR}${IRSSI_HELP}
@cd help/ && install -m 644 presence roster xmppconnect xmppserver ${DESTDIR}${IRSSI_HELP}
help-uninstall:
@echo uninstalling command help files from ${DESTDIR}${IRSSI_HELP}
@cd ${DESTDIR}${IRSSI_HELP} && rm -f presence roster xmppconnect xmppserver
.PHONY: all clean install uninstall user-install user-uninstall doc-install doc-uninstall help-install help-uninstall