--- a/configure
+++ b/configure
@@ -56,10 +56,10 @@
 	mkdir -p \$(DESTDIR)\$(PREFIX)/bin
 	mkdir -p \$(DESTDIR)\$(PREFIX)/share/man/man1
 	mkdir -p \$(DESTDIR)\$(PREFIX)/share/zsh/site-functions
-	mkdir -p \$(DESTDIR)/etc/bash_completion.d
+	mkdir -p \$(DESTDIR)\$(PREFIX)/etc/bash_completion.d
 	cp ./code2color ./sxw2txt ./archive_color ./lesspipe.sh ./vimcolor ./lesscomplete \$(DESTDIR)\$(PREFIX)/bin
 	cp ./lesspipe.1 \$(DESTDIR)\$(PREFIX)/share/man/man1
-	cp ./less_completion \$(DESTDIR)/etc/bash_completion.d
+	cp ./less_completion \$(DESTDIR)\$(PREFIX)/etc/bash_completion.d
 	cp ./_less \$(DESTDIR)\$(PREFIX)/share/zsh/site-functions
 	chmod 0755 \$(DESTDIR)\$(PREFIX)/bin/lesspipe.sh
 	chmod 0755 \$(DESTDIR)\$(PREFIX)/bin/sxw2txt
