$NetBSD: patch-Makefile,v 1.3 2015/08/15 16:22:43 leot Exp $ * Fix bash-completion and fish-completion path. --- Makefile.orig 2015-06-05 09:50:19.000000000 +0000 +++ Makefile @@ -26,12 +26,12 @@ install: youtube-dl youtube-dl.1 youtube install -m 755 youtube-dl $(DESTDIR)$(BINDIR) install -d $(DESTDIR)$(MANDIR)/man1 install -m 644 youtube-dl.1 $(DESTDIR)$(MANDIR)/man1 - install -d $(DESTDIR)$(SYSCONFDIR)/bash_completion.d - install -m 644 youtube-dl.bash-completion $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/youtube-dl + install -d $(DESTDIR)${BASHCOMPDIR} + install -m 644 youtube-dl.bash-completion $(DESTDIR)${BASHCOMPDIR}/youtube-dl install -d $(DESTDIR)$(SHAREDIR)/zsh/site-functions install -m 644 youtube-dl.zsh $(DESTDIR)$(SHAREDIR)/zsh/site-functions/_youtube-dl - install -d $(DESTDIR)$(SYSCONFDIR)/fish/completions - install -m 644 youtube-dl.fish $(DESTDIR)$(SYSCONFDIR)/fish/completions/youtube-dl.fish + install -d $(DESTDIR)${FISHCOMPDIR} + install -m 644 youtube-dl.fish $(DESTDIR)${FISHCOMPDIR}/youtube-dl.fish codetest: flake8 .