summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-12-26 00:08:22 +0100
committerHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-12-26 00:08:22 +0100
commit103a55c8b0f02a7b1da3fb3e56dd492ad0d11953 (patch)
tree29e66b1e5e71d7aabb62256612fbb5fa7de0ef3b
parent52edeba4b440aa0cc84d458caa40fb40f8488a63 (diff)
downloadMAC-Telnet-103a55c8b0f02a7b1da3fb3e56dd492ad0d11953.tar.gz
MAC-Telnet-103a55c8b0f02a7b1da3fb3e56dd492ad0d11953.zip
Corrected makefile
-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