Skip to content

Commit 9aadaab

Browse files
committed
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 <[email protected]>
1 parent 11e09bd commit 9aadaab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile.am

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ doc:
5656
doxygen $(top_srcdir)/doc/Doxyfile
5757

5858
doc-pack: doc
59-
-chmod a+r $(top_srcdir)/doc/html/*
60-
@tar --create --directory=$(top_srcdir)/doc/html --verbose --file=- . | gzip -c -9 > $(top_srcdir)/@PACKAGE_NAME@-@[email protected];
59+
-chmod a+r $(top_builddir)/doc/html/*
60+
@tar --create --directory=$(top_builddir)/doc/html --verbose --file=- . | gzip -c -9 > $(top_builddir)/@PACKAGE_NAME@-@[email protected];
6161

6262
doc-clean:
63-
rm -rf $(top_srcdir)/doc/html/*
63+
rm -rf $(top_builddir)/doc/html/*
6464

6565
pkgconfigdir = $(libdir)/pkgconfig
6666
pkgconfig_DATA = tesseract.pc

0 commit comments

Comments
 (0)