summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@server-speed.net>2012-01-25 18:13:13 +0100
committerFlorian Pritz <bluewind@server-speed.net>2012-01-25 18:13:13 +0100
commitdf12bcbfdc655ef7f57929a1cabb9dceb46ae07a (patch)
tree881cc1605e33959a43b36aa91d221cc5ec98edb4
parentf43a8c4f9bbc748ded3b0772fe2831267597debc (diff)
Makefile: replace install -D with -d
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3370c1d..3647e89 100644
--- a/Makefile
+++ b/Makefile
@@ -29,11 +29,14 @@ clean:
rm -rf dist
install: all
- install -Dm755 fb $(DESTDIR)$(BINDIR)/fb
+ install -dm755 $(DESTDIR)$(BINDIR)
+ install -m755 fb $(DESTDIR)$(BINDIR)/fb
ifdef LIBCURL
- install -Dm755 fb-helper $(DESTDIR)$(MY_LIBDIR)/fb-helper
+ install -dm755 $(DESTDIR)$(MY_LIBDIR)
+ install -m755 fb-helper $(DESTDIR)$(MY_LIBDIR)/fb-helper
endif
- install -Dm644 fb.1 $(DESTDIR)$(MANDIR)/man1/fb.1
+ install -dm755 $(DESTDIR)$(MANDIR)
+ install -m644 fb.1 $(DESTDIR)$(MANDIR)/man1/fb.1
uninstall:
rm -f $(DESTDIR)$(BINDIR)/fb