diff --git a/Makefile b/Makefile index cdb2f35..ca4246a 100644 --- a/Makefile +++ b/Makefile @@ -19,9 +19,11 @@ clean: D = $(DESTDIR) install: install-doc - install -D -m 755 git-remote-hg $(D)$(bindir)/git-remote-hg + install -d -m 755 $(D)$(bindir)/ + install -m 755 git-remote-hg $(D)$(bindir)/git-remote-hg install-doc: doc - install -D -m 644 doc/git-remote-hg.1 $(D)$(mandir)/git-remote-hg.1 + install -d -m 755 $(D)$(mandir)/ + install -m 644 doc/git-remote-hg.1 $(D)$(mandir)/git-remote-hg.1 .PHONY: all test install install-doc clean