From 9b7863a6688b5f42cb2a5036d02d3663102998f7 Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Sun, 17 Jun 2007 12:54:49 +0000 Subject: [PATCH] fix sbin dir, add permissions --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bc985a1..154ab6d 100644 --- a/Makefile +++ b/Makefile @@ -19,10 +19,13 @@ all: install: all $(MKDIR) $(MKDIR_FLAGS) $(DESTDIR)$(sbindir) - $(INSTALL) $(INSTALL_FLAGS) bin/iodine $(DESTDIR)$(prefix)/iodine - $(INSTALL) $(INSTALL_FLAGS) bin/iodined $(DESTDIR)$(prefix)/iodined + $(INSTALL) $(INSTALL_FLAGS) bin/iodine $(DESTDIR)$(sbindir)/iodine + chmod 755 $(DESTDIR)$(sbindir)/iodine + $(INSTALL) $(INSTALL_FLAGS) bin/iodined $(DESTDIR)$(sbindir)/iodined + chmod 755 $(DESTDIR)$(sbindir)/iodined $(MKDIR) $(MKDIR_FLAGS) $(DESTDIR)$(mandir)/man8 $(INSTALL) $(INSTALL_FLAGS) man/iodine.8 $(DESTDIR)$(mandir)/man8/iodine.8 + chmod 644 $(DESTDIR)$(mandir)/man8/iodine.8 uninstall: $(RM) $(RM_FLAGS) $(sbindir)/iodine