Comments (6)
Is this from a Git checkout? If so, you need to run the bootstrap
script at the top of the source tree, which generates the manual pages. (They're included in the distribution tarball so normally don't need to be built.)
from kstart.
Here is quick fix for that issue:
--- a/Makefile.am~ 2021-08-31 04:42:03.000000000 +0100
+++ b/Makefile.am 2021-09-16 20:44:49.935615111 +0100
@@ -174,3 +175,7 @@
# Used by maintainers to reformat all source code using clang-format.
reformat:
find . -name '*.[ch]' -print | xargs clang-format -style=file -i
+
+MAMS = docs/k5start.1 docs/krenew.1
+$(MANS): docs/%.1: docs/%.pod
+ pod2man --release="version $(VERSION)" --center="kstart" $< > $@
--- a/bootstrap~ 2021-08-31 04:42:03.000000000 +0100
+++ b/bootstrap 2021-09-16 21:10:01.137440134 +0100
@@ -12,11 +12,4 @@
set -e
# Regenerate all the autotools files.
-autoreconf -i --force
-
-# Generate manual pages.
-version=`grep '^kstart' NEWS | head -1 | cut -d' ' -f2`
-pod2man --release="$version" --center="kstart" docs/k5start.pod \
- >docs/k5start.1
-pod2man --release="$version" --center="kstart" docs/krenew.pod \
- >docs/krenew.1
+autoreconf -fiv
Please let me know if you want that patch as PR.
from kstart.
Advantage of that modyfication is that if it will be necessary to regenerate man page after .pod files modyficayion make will take care of that automatiically (basing on files time stams).
from kstart.
Yeah, on further consideration I should start doing this in all of my packages. I had originally avoided it because I was afraid timestamp ordering issues would trigger a spurious dependency on Perl during a build of a package that otherwise doesn't require Perl, but maybe I should just trust the timestamps in generated releases, plus availability of Perl is fairly universal and having a complete dependency tree is certainly better.
A PR would be welcome and then I can give you credit in Git. Thanks!
from kstart.
That said, please don't remove the man page generation from bootstrap
. I think the right fix is to put it in both places, since the build of kstart should not depend on Perl.
from kstart.
Yeah, on further consideration I should start doing this in all of my packages. I had originally avoided it because I was afraid timestamp ordering issues would trigger a spurious dependency on Perl during a build of a package that otherwise doesn't require Perl, but maybe I should just trust the timestamps in generated releases, plus availability of Perl is fairly universal and having a complete dependency tree is certainly better.
So convert man pages to xml and use xsltptoc to generate man pages :P
Nebertheless I've mention about time stams and make regeneraring man pages as part of the devel env behaviour .. not as regular build :)
If generated man pages will be in dist ratr ball generated by make distcheck
it will be no need to regenerate those man pages durung regular build.
from kstart.
Related Issues (6)
- 4.3: test suite is failing HOT 2
- k5start with -S and -I option renews ticket every -K minutes instead of checking the validity HOT 1
- Define kstart.service in systemctl, but start failed for time-out reason HOT 1
- manpage of k5start does contain invalid examples HOT 1
- Consider supporting default client keytab with -U HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kstart.