diff --git a/Makefile b/Makefile index 3ab3b16..abd2e84 100644 --- a/Makefile +++ b/Makefile @@ -16,16 +16,16 @@ install:all all: web tools help msg web: - $(INSTALL) -d -m 0755 $(WWWDIR)/$(NAME)/{,includes,images} + $(INSTALL) -m 0755 -d $(WWWDIR)/$(NAME)/{,includes,images} $(INSTALL) -m 0644 htdocs/*.php $(WWWDIR)/$(NAME) $(INSTALL) -m 0644 htdocs/style.css $(WWWDIR)/$(NAME) $(INSTALL) -m 0644 htdocs/includes/*.php $(WWWDIR)/$(NAME)/includes - $(INSTALL) -m 0666 htdocs/accueil.txt $(WWWDIR)/$(NAME) + $(INSTALL) -m 0666 -b htdocs/accueil.txt $(WWWDIR)/$(NAME) $(INSTALL) -m 0644 htdocs/images/*.* $(WWWDIR)/$(NAME)/images $(INSTALL) -m 0644 htdocs/favicon.ico $(WWWDIR)/$(NAME) tools: module - $(INSTALL) -d -m 0774 /etc/evoauth + $(INSTALL) -m 0774 -d /etc/evoauth $(INSTALL) -m 0770 admin/Evoauth.pl $(BINDIR)/evoauth $(INSTALL) -m 0600 install/evoauth.conf /etc/evoauth $(INSTALL) -m 0600 install/evoauth.rules /etc/evoauth @@ -38,14 +38,12 @@ module: make clean help: - $(INSTALL) -d -m 0755 $(DOCDIR)/$(NAME) + $(INSTALL) -m 0755 -d $(DOCDIR)/$(NAME) $(INSTALL) -m 0644 AUTHORS LICENSE README TODO $(DOCDIR)/$(NAME) - $(INSTALL) -d -m 0755 $(DOCDIR)/$(NAME)/install + $(INSTALL) -m 0755 -d $(DOCDIR)/$(NAME)/install $(INSTALL) -m 0644 install/*.* $(DOCDIR)/$(NAME)/install $(INSTALL) -m 0644 install/INSTALL $(DOCDIR)/$(NAME)/install - - cp $(LOGDIR)/evoauth.log $(LOGDIR)/evoauth.log.orig - $(INSTALL) -m 0664 install/evoauth.log $(LOGDIR) + $(INSTALL) -m 0664 -b install/evoauth.log $(LOGDIR) msg: @echo ""