commit 78a45ae47f46f72ee4eaa681741a59f6556f7a3e
parent c485034d7916a90354361ad56b37b98313dd2909
Author: Dominik Schmidt <dominik@schm1dt.ch>
Date: Sat, 16 Nov 2019 18:02:43 +0100
Include siproc-parameters in the installation
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -9,6 +9,10 @@ INSTALL = install
PREFIX ?= /usr
MANPREFIX ?= /usr/share/man
+.PHONY: all
+
+all: siproc siproc-parameters
+
siproc: src/siproc.o
$(CPP) $(_CFLAGS) -o $@ $^ $(_LDFLAGS)
@@ -20,8 +24,10 @@ siproc-parameters: src/parameters.o
.PHONY:install
-install: siproc
+install: siproc siproc-parameters
mkdir -p $(DESTDIR)$(PREFIX)/bin/
$(INSTALL) -m 755 siproc $(DESTDIR)$(PREFIX)/bin/
+ mkdir -p $(DESTDIR)$(PREFIX)/bin/
+ $(INSTALL) -m 755 siproc-parameters $(DESTDIR)$(PREFIX)/bin/
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
$(INSTALL) -m 644 siproc.1 $(DESTDIR)$(MANPREFIX)/man1