From: Michael Göhler Date: Thu, 18 Sep 2014 19:38:33 +0000 (+0200) Subject: partially revert cae082fd - install -D is not OS-X compatible X-Git-Url: https://git.danieliu.xyz/?p=smdp.git;a=commitdiff_plain;h=71476726b8b459c78c0191c64419e7154ed1bbe5 partially revert cae082fd - install -D is not OS-X compatible --- diff --git a/Makefile b/Makefile index 63a1feb..1d4ce07 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,8 @@ clean: $(RM) $(OBJECTS) mdp install: mdp - install -Dm755 mdp $(PREFIX)$(DESTDIR)/mdp + install -d $(PREFIX)$(DESTDIR) + install -m 755 mdp $(PREFIX)$(DESTDIR)/mdp uninstall: rm -f $(PREFIX)$(DESTDIR)/mdp