-
Notifications
You must be signed in to change notification settings - Fork 5
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
4.3: build fails #3
Comments
Is this from a Git checkout? If so, you need to run the |
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. |
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). |
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! |
That said, please don't remove the man page generation from |
So convert man pages to xml and use xsltptoc to generate man pages :P |
Looks like something is wrrong with Makefile rules for man pages
The text was updated successfully, but these errors were encountered: