aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-05-01 14:42:43 +0200
committerMattias Andrée <maandree@operamail.com>2015-05-01 14:42:43 +0200
commit8aacddbe8e827f13306460ff211aae25e4db68a8 (patch)
tree515cc019aa88f5ee80cfbdbc8fb94f43ffcd6c81 /Makefile
parentfix manpages + add manpages for bus_chown and bus_chmod (diff)
downloadbus-8aacddbe8e827f13306460ff211aae25e4db68a8.tar.gz
bus-8aacddbe8e827f13306460ff211aae25e4db68a8.tar.bz2
bus-8aacddbe8e827f13306460ff211aae25e4db68a8.tar.xz
m + add bus_poll.3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6171ee6..6cf36de 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ PKGNAME = bus
MAN1 = bus bus-broadcast bus-create bus-listen bus-remove bus-wait
-MAN3 = bus_create bus_unlink bus_open bus_close bus_read bus_write
+MAN3 = bus_create bus_unlink bus_open bus_close bus_read bus_write bus_poll bus_chmod bus_chown
MAN5 = bus
MAN7 = libbus
@@ -135,6 +135,8 @@ install-man3: $(foreach M,${MAN3},bin/${M}.3)
@echo INSTALL $(foreach M,${MAN3},${M}.3)
@install -dm755 -- "${DESTDIR}${MANDIR}/man3"
@install -m644 $^ -- "${DESTDIR}${MANDIR}/man3"
+ @ln -sf -- "bus_poll.3" "${DESTDIR}${MANDIR}/man3/bus_poll_start.3"
+ @ln -sf -- "bus_poll.3" "${DESTDIR}${MANDIR}/man3/bus_poll_stop.3"
install-man5: $(foreach M,${MAN5},bin/${M}.5)
@echo INSTALL $(foreach M,${MAN5},${M}.5)
@@ -157,6 +159,8 @@ uninstall:
-rmdir -- "${DESTDIR}${LICENSEDIR}/${PKGNAME}"
-rm -- $(foreach M,${MAN1},"${DESTDIR}${MANDIR}/man1/${M}.1")
-rm -- $(foreach M,${MAN3},"${DESTDIR}${MANDIR}/man3/${M}.3")
+ -rm -- "${DESTDIR}${MANDIR}/man3/bus_poll_start.3"
+ -rm -- "${DESTDIR}${MANDIR}/man3/bus_poll_stop.3"
-rm -- $(foreach M,${MAN5},"${DESTDIR}${MANDIR}/man5/${M}.5")
-rm -- $(foreach M,${MAN7},"${DESTDIR}${MANDIR}/man7/${M}.7")