Debian Codegraph @

man/Makefile

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 R=..
2 include ${R}/config.mk
3
4 .PHONY : all clean install uninstall dist
5
6 MANPAGES = \
7 libmosquitto.3 \
8 mosquitto-tls.7 \
9 mosquitto.7 \
10 mosquitto.8 \
11 mosquitto.conf.5 \
12 mosquitto_ctrl.1 \
13 mosquitto_ctrl_dynsec.1 \
14 mosquitto_ctrl_shell.1 \
15 mosquitto_passwd.1 \
16 mosquitto_pub.1 \
17 mosquitto_rr.1 \
18 mosquitto_signal.1 \
19 mosquitto_sub.1 \
20 mqtt.7
21
22 all : ${MANPAGES}
23
24 clean :
25
26 reallyclean : clean
27 -rm -f *.orig
28 -rm -f ${MANPAGES}
29
30 dist : ${MANPAGES}
31
32 install :
33 $(INSTALL) -d "${DESTDIR}$(mandir)/man1"
34 $(INSTALL) -m 644 mosquitto_ctrl.1 "${DESTDIR}${mandir}/man1/mosquitto_ctrl.1"
35 $(INSTALL) -m 644 mosquitto_ctrl_dynsec.1 "${DESTDIR}${mandir}/man1/mosquitto_ctrl_dynsec.1"
36 $(INSTALL) -m 644 mosquitto_ctrl_shell.1 "${DESTDIR}${mandir}/man1/mosquitto_ctrl_shell.1"
37 $(INSTALL) -m 644 mosquitto_passwd.1 "${DESTDIR}${mandir}/man1/mosquitto_passwd.1"
38 $(INSTALL) -m 644 mosquitto_pub.1 "${DESTDIR}${mandir}/man1/mosquitto_pub.1"
39 $(INSTALL) -m 644 mosquitto_rr.1 "${DESTDIR}${mandir}/man1/mosquitto_rr.1"
40 $(INSTALL) -m 644 mosquitto_signal.1 "${DESTDIR}${mandir}/man1/mosquitto_signal.1"
41 $(INSTALL) -m 644 mosquitto_sub.1 "${DESTDIR}${mandir}/man1/mosquitto_sub.1"
42 $(INSTALL) -d "${DESTDIR}$(mandir)/man3"
43 $(INSTALL) -m 644 libmosquitto.3 "${DESTDIR}${mandir}/man3/libmosquitto.3"
44 $(INSTALL) -d "${DESTDIR}$(mandir)/man5"
45 $(INSTALL) -m 644 mosquitto.conf.5 "${DESTDIR}${mandir}/man5/mosquitto.conf.5"
46 $(INSTALL) -d "${DESTDIR}$(mandir)/man7"
47 $(INSTALL) -m 644 mosquitto.7 "${DESTDIR}${mandir}/man7/mosquitto.7"
48 $(INSTALL) -m 644 mosquitto-tls.7 "${DESTDIR}${mandir}/man7/mosquitto-tls.7"
49 $(INSTALL) -m 644 mqtt.7 "${DESTDIR}${mandir}/man7/mqtt.7"
50 $(INSTALL) -d "${DESTDIR}$(mandir)/man8"
51 $(INSTALL) -m 644 mosquitto.8 "${DESTDIR}${mandir}/man8/mosquitto.8"
52
53 uninstall :
54 -rm -f "${DESTDIR}${mandir}/man1/mosquitto_ctrl.1"
55 -rm -f "${DESTDIR}${mandir}/man1/mosquitto_ctrl_dynsec.1"
56 -rm -f "${DESTDIR}${mandir}/man1/mosquitto_ctrl_shell.1"
57 -rm -f "${DESTDIR}${mandir}/man1/mosquitto_passwd.1"
58 -rm -f "${DESTDIR}${mandir}/man1/mosquitto_pub.1"
59 -rm -f "${DESTDIR}${mandir}/man1/mosquitto_rr.1"
60 -rm -f "${DESTDIR}${mandir}/man1/mosquitto_signal.1"
61 -rm -f "${DESTDIR}${mandir}/man1/mosquitto_sub.1"
62 -rm -f "${DESTDIR}${mandir}/man3/libmosquitto.3"
63 -rm -f "${DESTDIR}${mandir}/man5/mosquitto.conf.5"
64 -rm -f "${DESTDIR}${mandir}/man7/mosquitto-tls.7"
65 -rm -f "${DESTDIR}${mandir}/man7/mosquitto.7"
66 -rm -f "${DESTDIR}${mandir}/man7/mqtt.7"
67 -rm -f "${DESTDIR}${mandir}/man8/mosquitto.8"
68
69 % : %.xml %.meta manpage.xsl
70 $(XSLTPROC) --xinclude $<
71
72 html : *.xml
73 set -e; for m in *.xml; \
74 do \
75 hfile=$$(echo $${m} | sed -e 's#\(.*\)\.xml#\1#' | sed -e 's/\./-/g'); \
76 $(XSLTPROC) html.xsl $${m} > $${hfile}.html; \
77 done
78
79 potgen :
80 xml2po -o po/mosquitto/mosquitto.7.pot mosquitto.7.xml
81 xml2po -o po/mosquitto/mosquitto.8.pot mosquitto.8.xml
82 xml2po -o po/mosquitto.conf/mosquitto.conf.5.pot mosquitto.conf.5.xml
83 xml2po -o po/mosquitto_ctrl/mosquitto_ctrl.1.pot mosquitto_ctrl.1.xml
84 xml2po -o po/mosquitto_ctrl/mosquitto_ctrl_dynsec.1.pot mosquitto_ctrl_dynsec.1.xml
85 xml2po -o po/mosquitto_ctrl/mosquitto_ctrl_shell.1.pot mosquitto_ctrl_shell.1.xml
86 xml2po -o po/mosquitto_passwd/mosquitto_passwd.1.pot mosquitto_passwd.1.xml
87 xml2po -o po/mosquitto_pub/mosquitto_pub.1.pot mosquitto_pub.1.xml
88 xml2po -o po/mosquitto_sub/mosquitto_sub.1.pot mosquitto_sub.1.xml
89 xml2po -o po/mosquitto_sub/mosquitto_rr.1.pot mosquitto_rr.1.xml
90 xml2po -o po/mosquitto_sub/mosquitto_signal.1.pot mosquitto_signal.1.xml
91 xml2po -o po/mqtt/mqtt.7.pot mqtt.7.xml
92 xml2po -o po/mosquitto-tls/mosquitto-tls.7.pot mosquitto-tls.7.xml
93 xml2po -o po/libmosquitto/libmosquitto.3.pot libmosquitto.3.xml
94
95 # To merge new translations do:
96 # /usr/bin/xml2po -p de.po chapter1.xml > chapter1.de.xml