build: add 'make install' rule

This commit is contained in:
Ariadne Conill 2020-07-23 11:28:18 -06:00
parent 546e6a5f3a
commit a880654204

View file

@ -53,4 +53,7 @@ clean:
check: libifupdown.a ${CMDS} check: libifupdown.a ${CMDS}
kyua test 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