mirror of https://github.com/xiph/flac
Fix out-of-tree building with prebuilt docs
This commit is contained in:
parent
e9551810c7
commit
2440e19a73
|
@ -482,8 +482,8 @@ if test -n "$PANDOC" ; then
|
|||
AC_DEFINE(FLAC__HAS_PANDOC)
|
||||
AH_TEMPLATE(FLAC__HAS_PANDOC, [define if you have pandoc])
|
||||
else
|
||||
if [ -f "$srcdir/man/flac.1" ] && [ -f "$srcdir/man/metaflac.1" ] ; then
|
||||
HAS_PREBUILT_MANPAGES = yes
|
||||
if test -f "$srcdir/man/flac.1" && test -f "$srcdir/man/metaflac.1" ; then
|
||||
HAS_PREBUILT_MANPAGES=yes
|
||||
fi
|
||||
fi
|
||||
AM_CONDITIONAL(FLaC__HAS_PREBUILT_MANPAGES, test "x$HAS_PREBUILT_MANPAGES" = "xyes")
|
||||
|
|
|
@ -56,7 +56,7 @@ if FLaC__HAS_PREBUILT_DOXYGEN
|
|||
# handle 'api/' specially:
|
||||
install-data-local:
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)/api
|
||||
(cd $(builddir)/api && $(INSTALL_DATA) * $(DESTDIR)$(docdir)/api)
|
||||
(cd $(srcdir)/api && $(INSTALL_DATA) * $(DESTDIR)$(docdir)/api)
|
||||
uninstall-local:
|
||||
rm -rf $(DESTDIR)$(docdir)/api
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue