siproc

A primitive SIP client that spawns processes for each call
git clone git://xatko.vsos.ethz.ch/siproc.git
Log | Files | Refs | README

commit 5283c4ece09e10f1d396be713d2db39f6a170e67
parent 7c47624c49bed6f39f4d513ea9e48040c5cabbef
Author: Dominik Schmidt <dominik@schm1dt.ch>
Date:   Sat, 31 Aug 2019 22:14:29 +0200

Improve the install target, also installing the manpage

Diffstat:
MMakefile | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -6,7 +6,8 @@ LDFLAGS ?= -s _CFLAGS = $(CFLAGS) $(PJSIP_CFLAGS) _LDFLAGS = $(LDFLAGS) $(PJSIP_LDFLAGS) INSTALL = install -DESTDIR ?= /usr +PREFIX ?= /usr +MANPREFIX ?= /usr/share/man siproc: src/siproc.o $(CPP) $(_CFLAGS) -o $@ $^ $(_LDFLAGS) @@ -17,4 +18,5 @@ siproc: src/siproc.o .PHONY:install install: siproc - $(INSTALL) -m 755 $^ ${DESTDIR}/bin/ + $(INSTALL) -m 755 siproc $(DESTDIR)$(PREFIX)/bin/ + $(INSTALL) -m 644 siproc.1 $(DESTDIR)$(MANPREFIX)/man1