summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ce31dd4..e9ce1b4 100644
--- a/Makefile
+++ b/Makefile
@@ -10,10 +10,13 @@ install: all
cp mndp $(DESTDIR)/usr/bin/
cp mactelnet $(DESTDIR)/usr/bin/
cp mactelnetd $(DESTDIR)/usr/sbin/
+ mkdir -p $(DESTDIR)/etc
cp mactelnetd.users $(DESTDIR)/etc/
- chown $(DESTDIR)/etc/mactelnetd.users
+ chown root $(DESTDIR)/etc/mactelnetd.users
chmod 600 $(DESTDIR)/etc/mactelnetd.users
+install-debian:
+
mactelnet: config.h udp.h udp.c mactelnet.c mactelnet.h protocol.c protocol.h console.c console.h devices.c devices.h md5.c md5.h
gcc -Wall -g -DUSERSFILE='"/etc/mactelnetd.users"' -o mactelnet mactelnet.c udp.c protocol.c console.c devices.c md5.c