Skip to content
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

Makefile.in installs documentation in $prefix/share/doc because $PACKAGE_TARNAME is empty #265

Open
neverpanic opened this issue Mar 11, 2023 · 0 comments

Comments

@neverpanic
Copy link

Makefile.in installs documentation in @docdir@, which, when configure is generated with autoconf 2.71 expands to ${datarootdir}/doc/${PACKAGE_TARNAME}.

datarootdir is defined in Makefile.in in line 20, but PACKAGE_TARNAME is never defined. This means that docdir expands to ${datarootdir}/doc/, and make docs installs documentation one level up from where it should be.

I'm not sure how to correctly fix this. Maybe Makefile.in also needs to include PACKAGE_TARNAME = @PACKAGE_TARNAME@, or maybe there's some magic to do in configure.ac to make configure expand this variable?

See also https://trac.macports.org/ticket/67081 and macports/macports-ports#17933.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant