Skip to content

When doing "make rpm", rpmbuild fails to find the manpages

One of Bill's patches changed most of the manpages to POD format - but doesn't alter the Makefile to build them to troff, and so building an rpm fails because the files are missing.

... mkdir -p -m755 /data/afs/kafs-client/rpmbuild/BUILDROOT/kafs-client-0.5-1.fc40.local.x86_64/usr/share/man/man1/ mkdir -p -m755 /data/afs/kafs-client/rpmbuild/BUILDROOT/kafs-client-0.5-1.fc40.local.x86_64/usr/share/man/man5/ mkdir -p -m755 /data/afs/kafs-client/rpmbuild/BUILDROOT/kafs-client-0.5-1.fc40.local.x86_64/usr/share/man/man7/ mkdir -p -m755 /data/afs/kafs-client/rpmbuild/BUILDROOT/kafs-client-0.5-1.fc40.local.x86_64/usr/share/man/man8/ /usr/bin/install -p -D -m 0644 man/*.1 /data/afs/kafs-client/rpmbuild/BUILDROOT/kafs-client-0.5-1.fc40.local.x86_64/usr/share/man/man1/ /usr/bin/install -p -D -m 0644 man/*.5 /data/afs/kafs-client/rpmbuild/BUILDROOT/kafs-client-0.5-1.fc40.local.x86_64/usr/share/man/man5/ /usr/bin/install: cannot stat 'man/*.5': No such file or directory make[1]: *** [Makefile:64: install] Error 1