Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install fails unable to find vimpager.1 #115

Closed
rinchen opened this issue May 18, 2015 · 3 comments
Closed

make install fails unable to find vimpager.1 #115

rinchen opened this issue May 18, 2015 · 3 comments

Comments

@rinchen
Copy link

rinchen commented May 18, 2015

On Ubuntu, with head:

 $ sudo make install
 [sudo] password for joey: 
 mkdir -p //usr/local/bin
 install -m 555 vimpager //usr/local/bin/vimpager
 install -m 555 vimcat //usr/local/bin/vimcat
 mkdir -p //usr/local/share/man/man1
 install -m 444 vimpager.1 //usr/local/share/man/man1/vimpager.1
 install: cannot stat ‘vimpager.1’: No such file or directory
 Makefile:110: recipe for target 'install' failed
 make: *** [install] Error 1

I've done a make clean and such.

rkitover added a commit that referenced this issue May 18, 2015
Fix dependencies in Makefile for #113 (removing generated docs from git)
properly, such that a 'make install' will also rebuild vimpager and
generate the man pages, otherwise it errors out because it can't install
the nonexistant man pages.
@rkitover
Copy link
Owner

Sorry about that, in #113 we did not properly fix the deps in the Makefile, please try master.

rkitover added a commit that referenced this issue May 20, 2015
Make man page generation check for pandoc and display a warning that man
pages will not be generated if it is not available.

Make the install target not error out if the man pages were not
generated, and not create the man directory in that case.
@rkitover
Copy link
Owner

I made the man page generation and installation optional depending on the availability of pandoc.

The next step is to make the vimpager bundling check if the bundled files have changed, for this I'll need to write sha and uuencode scripts and add the shas next to the encoded files in the script, that will be a bit of work.

@rinchen
Copy link
Author

rinchen commented May 20, 2015

git pull and then sudo apt-get install pandoc worked for me. I like the man page. :-) Thanks.

@rinchen rinchen closed this as completed May 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants