From: Kevin B. <kev...@gm...> - 2025-03-18 03:11:14
|
On 2025/03/17 16:17, Kevin Buckley wrote: > > Trouble with that is: there aren't any "pre-built man pages"? Ooh-err! > > However, if I install something that gives me rst2man, the > > make dist-bzi2 > > now runs through, but still generates a tarball with those > "doubled" doc and examples directories, which then can't be > used for an rpmbuild. > > HTH, > Another Kevin > > I have found that I can generate a tarball WITHOUT the doubled directories if I make this change $ diff --git a/Makefile.am b/Makefile.am index f0d58d4..21565c7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ SUBDIRS = src -EXTRA_DIST = doc/ examples/ CHANGELOG.rst CONTRIBUTING.rst INSTALL.rst README.rst +EXTRA_DIST = CHANGELOG.rst CONTRIBUTING.rst INSTALL.rst README.rst doc examples dist_man_MANS = doc/sshguard-setup.7 doc/sshguard.8 if BUILD_MAN $ After which, a make dist-bzip has these files drwxrwxr-x 20480/20480 0 2025-03-17 16:10 sshguard-2.5.0/doc/ -rw-rw-r-- 20480/20480 4838 2025-03-17 15:45 sshguard-2.5.0/doc/sshguard.8.rst -rw-rw-r-- 20480/20480 10492 2025-03-17 16:10 sshguard-2.5.0/doc/sshguard-setup.7 -rw-rw-r-- 20480/20480 673 2025-03-17 15:45 sshguard-2.5.0/doc/sshguard.dot -rw-rw-r-- 20480/20480 5769 2025-03-17 16:10 sshguard-2.5.0/doc/sshguard.8 -rw-rw-r-- 20480/20480 8514 2025-03-17 15:45 sshguard-2.5.0/doc/sshguard-setup.7.rst drwxrwxr-x 20480/20480 0 2025-03-17 15:45 sshguard-2.5.0/examples/ -rw-rw-r-- 20480/20480 263 2025-03-17 15:45 sshguard-2.5.0/examples/whitelistfile.example -rw-rw-r-- 20480/20480 392 2025-03-17 15:45 sshguard-2.5.0/examples/net.sshguard.plist -rw-rw-r-- 20480/20480 2744 2025-03-17 15:45 sshguard-2.5.0/examples/sshguard.conf.sample -rw-rw-r-- 20480/20480 348 2025-03-17 15:45 sshguard-2.5.0/examples/sshguard.service which I think is correct. Another Kevin |