diff --git a/daemon/Makefile b/daemon/Makefile index e5b39aa62..92f810932 100644 --- a/daemon/Makefile +++ b/daemon/Makefile @@ -94,5 +94,6 @@ MANS= $(PODS:.pod=.8) include ../lib/common.Makefile -install: $(TARGET) +install: $(TARGET) $(MANS) install -m 0755 -D $(TARGET) $(DESTDIR)/usr/bin/$(TARGET) + install -m 0644 -D $(TARGET).8 $(DESTDIR)/usr/share/man/man8/$(TARGET).8 diff --git a/debian/ngcp-rtpengine-daemon.manpages b/debian/ngcp-rtpengine-daemon.manpages index 1e943841b..b87b3ab29 100644 --- a/debian/ngcp-rtpengine-daemon.manpages +++ b/debian/ngcp-rtpengine-daemon.manpages @@ -1,2 +1,2 @@ -daemon/rtpengine.8 debian/ngcp-rtpengine-iptables-setup.1 +usr/share/man/man8/rtpengine.8 diff --git a/debian/ngcp-rtpengine-recording-daemon.manpages b/debian/ngcp-rtpengine-recording-daemon.manpages index 9e99650fb..64ca1e779 100644 --- a/debian/ngcp-rtpengine-recording-daemon.manpages +++ b/debian/ngcp-rtpengine-recording-daemon.manpages @@ -1,2 +1,2 @@ debian/ngcp-rtpengine-recording-nfs-setup.1 -recording-daemon/rtpengine-recording.8 +usr/share/man/man8/rtpengine-recording.8 diff --git a/recording-daemon/Makefile b/recording-daemon/Makefile index f721bdc4e..e20b26929 100644 --- a/recording-daemon/Makefile +++ b/recording-daemon/Makefile @@ -40,5 +40,6 @@ MANS= $(PODS:.pod=.8) include ../lib/common.Makefile -install: $(TARGET) +install: $(TARGET) $(MANS) install -m 0755 -D $(TARGET) $(DESTDIR)/usr/bin/$(TARGET) + install -m 0644 -D $(TARGET).8 $(DESTDIR)/usr/share/man/man8/$(TARGET).8