summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 924e1b7..e21743e 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,8 @@ clean:
@$(MAKE) $(MFLAGS) -C tests clean
install: $(TARGET) $(DOCDIR)/$(MAN1)
- install -D -m 755 $(SRCDIR)/$(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET)
+ install -d $(DESTDIR)$(BINDIR)
+ install -m 755 $(SRCDIR)/$(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET)
install -d $(DESTDIR)$(EXAMPLEDIR)
cp -r examples/* $(DESTDIR)$(EXAMPLEDIR)
install -d $(DESTDIR)$(MANDIR)/man1