From a8806542046d565cd52282f32740cabde7d84120 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Thu, 23 Jul 2020 11:28:18 -0600 Subject: [PATCH] build: add 'make install' rule --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 148b552..cb15aca 100644 --- a/Makefile +++ b/Makefile @@ -53,4 +53,7 @@ clean: check: libifupdown.a ${CMDS} kyua test -default: all +install: all + install -D -m755 ./ifquery ${DESTDIR}/sbin/ifquery + install -D -m755 ./ifup ${DESTDIR}/sbin/ifup + ln -s /sbin/ifup ${DESTDIR}/sbin/ifdown