jedisct1 / dsvpn

A Dead Simple VPN.
MIT License
5.17k stars 395 forks source link

make install patch #34

Closed jungle-boogie closed 5 years ago

jungle-boogie commented 5 years ago

Hello,

My first attempt at a make install, so I'm not even submitting a pull request for this.

diff --git a/Makefile b/Makefile
index 1206e0e..a272283 100644
--- a/Makefile
+++ b/Makefile
@@ -8,3 +8,6 @@ dsvpn: Makefile src/vpn.c src/charm.c src/os.c include/charm.h include/vpn.h inc

 clean:
        rm -f dsvpn *~
+
+install: dsvpn
+       cp dsvpn /usr/local/sbin
jedisct1 commented 5 years ago

Hi!

An install target can be useful.

There is an install command that is generally preferable for this. I will add it.