Thanks for finding this out! I committed similar fix.
On 4/23/09, Ludovic Rousseau <ludovic.rouss...@gmail.com> wrote: > Hello, > > If I use "./configure --disable-man" then "make install" fails with: > [...] > Making install in doc > make[1]: Entering directory `/home/rousseau/sc/OpenSC/opensc/trunk/doc' > make[2]: Entering directory `/home/rousseau/sc/OpenSC/opensc/trunk/doc' > make[3]: Entering directory `/home/rousseau/sc/OpenSC/opensc/trunk/doc' > make[3]: Nothing to be done for `install-exec-am'. > test -z "/usr/local/share/doc/opensc" || /bin/mkdir -p > "/tmp/opensc/usr/local/share/doc/opensc" > test -z "/usr/local/share/doc/opensc" || /bin/mkdir -p > "/tmp/opensc/usr/local/share/doc/opensc" > test -z "/usr/local/share/man/man1" || /bin/mkdir -p > "/tmp/opensc/usr/local/share/man/man1" > /usr/bin/install -c -m 644 'README' > '/tmp/opensc/usr/local/share/doc/opensc/README' > test -z "/usr/local/share/man/man3" || /bin/mkdir -p > "/tmp/opensc/usr/local/share/man/man3" > test -z "/usr/local/share/man/man5" || /bin/mkdir -p > "/tmp/opensc/usr/local/share/man/man5" > /usr/bin/install -c -m 644 './man.out/*.5' > '/tmp/opensc/usr/local/share/man/man5/Makefile Makefile.am Makefile.in > README api nonpersistent tools.5' > /usr/bin/install: cannot stat `./man.out/*.5': No such file or directory > make[3]: *** [install-man5] Error 1 > make[3]: *** Waiting for unfinished jobs.... > /usr/bin/install -c -m 644 './man.out/*.1' > '/tmp/opensc/usr/local/share/man/man1/Makefile Makefile.am Makefile.in > README api nonpersistent tools.1' > /usr/bin/install: cannot stat `./man.out/*.1': No such file or directory > /usr/bin/install -c -m 644 './man.out/*.3' > '/tmp/opensc/usr/local/share/man/man3/Makefile Makefile.am Makefile.in > README api nonpersistent tools.3' > make[3]: *** [install-man1] Error 1 > /usr/bin/install: cannot stat `./man.out/*.3': No such file or directory > make[3]: *** [install-man3] Error 1 > make[3]: Leaving directory `/home/rousseau/sc/OpenSC/opensc/trunk/doc' > make[2]: *** [install-am] Error 2 > make[2]: Leaving directory `/home/rousseau/sc/OpenSC/opensc/trunk/doc' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/home/rousseau/sc/OpenSC/opensc/trunk/doc' > make: *** [install-recursive] Error 1 > > > This is because make tries to install manpages that were not generated. > Proposed patch attached. The idea is to define dist_man?_MANS only if > ENABLE_MAN is set. > > Bye > > > -- > Dr. Ludovic Rousseau > > _______________________________________________ > opensc-devel mailing list > opensc-devel@lists.opensc-project.org > http://www.opensc-project.org/mailman/listinfo/opensc-devel > > _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel