diff options
author | Daniel Carl <danielcarl@gmx.de> | 2015-06-15 15:44:26 +0200 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2015-06-15 15:44:26 +0200 |
commit | 8cedf9c41352ca46647290fbe911bf19d83a8f60 (patch) | |
tree | b5b203660bcfeaaa7f64ca96a67160d4ced58829 /Makefile | |
parent | c041b826169cb1725efd9c2d6a43df742442f4fa (diff) |
Fixed Makefile install target using -D.
Tanks to Leonardo Taccari for this patch. The -D option of install has a
different meaning in BSD, so we avoid it here.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |