Use ./configure passed --docdir for doc install dir

If any --docdir is passed, the app can't find the builtin documentation

Just inherit docdir from configure now, which defaults to the same thing
but if overridden will act proper now.

Related: https://bugs.gentoo.org/813438

Signed-off-by: Marco Sirabella <marco@sirabella.org>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
Marco Sirabella 2021-09-16 22:12:06 -07:00 committed by Lukas Fleischer
parent 2b766040a9
commit 1351f8f0fe

View File

@ -57,8 +57,6 @@ CLEANFILES = \
submitting-patches.html \
calcurse.1
docdir = $(datadir)/doc/$(PACKAGE)
.txt.html:
if HAVE_ASCIIDOC
$(AM_V_GEN) $(ASCIIDOC) $(ASCIIDOC_ARGS) $<