mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Fix automake rules for doc-clean and doc-pack
They used the wrong directory and failed for out of tree builds. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
11e09bd4a1
commit
9aadaaba27
@ -56,11 +56,11 @@ doc:
|
||||
doxygen $(top_srcdir)/doc/Doxyfile
|
||||
|
||||
doc-pack: doc
|
||||
-chmod a+r $(top_srcdir)/doc/html/*
|
||||
@tar --create --directory=$(top_srcdir)/doc/html --verbose --file=- . | gzip -c -9 > $(top_srcdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@-doc-html.tar.gz;
|
||||
-chmod a+r $(top_builddir)/doc/html/*
|
||||
@tar --create --directory=$(top_builddir)/doc/html --verbose --file=- . | gzip -c -9 > $(top_builddir)/@PACKAGE_NAME@-@PACKAGE_VERSION@-doc-html.tar.gz;
|
||||
|
||||
doc-clean:
|
||||
rm -rf $(top_srcdir)/doc/html/*
|
||||
rm -rf $(top_builddir)/doc/html/*
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = tesseract.pc
|
||||
|
Loading…
Reference in New Issue
Block a user