Skip to content

Commit

Permalink
make target install depend only on docs
Browse files Browse the repository at this point in the history
Make the install makefile target depend only on docs, which displays a
warning if pandoc is not installed, and not on all which also rebuilds
vimpager. This will help if the user does not have uuencode on the
system.

I'm trying currently to rewrite the Makefile to only incrementally
repackage vimpager if any of the bundled components have changed, then I
will revert to depending on all for the install target.
  • Loading branch information
rkitover committed May 25, 2015
1 parent 8c54bb9 commit cf59953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -106,7 +106,7 @@ uninstall:
rm -f ${PREFIX}/share/man/man1/vimpager.1
rm -f ${PREFIX}/etc/vimpagerrc

install: all
install: docs
${MKPATH} ${DESTDIR}/${PREFIX}/bin
${INSTALLBIN} vimpager ${DESTDIR}/${PREFIX}/bin/vimpager
${INSTALLBIN} vimcat ${DESTDIR}/${PREFIX}/bin/vimcat
Expand Down

0 comments on commit cf59953

Please sign in to comment.