summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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