Skip to content

Commit

Permalink
Clean Makefile.am (#1322)
Browse files Browse the repository at this point in the history
Replace the doc-dummy hack with .PHONY.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil authored and zdenop committed Feb 18, 2018
1 parent 20b3ff8 commit 43f34f5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ training:
@echo "Need to reconfigure project, so there are no errors"
endif

.PHONY: install-langs ScrollView.jar install-jars training
.PHONY: doc install-langs ScrollView.jar install-jars training

SUBDIRS = arch ccutil viewer cutil opencl ccstruct dict classify wordrec textord lstm
SUBDIRS += ccmain api . tessdata doc unittest
Expand Down Expand Up @@ -51,9 +51,7 @@ ScrollView.jar:
install-jars:
@cd "$(top_builddir)/java" && $(MAKE) $@

doc-dummy:

doc: doc-dummy
doc:
-srcdir="$(top_srcdir)" builddir="$(top_builddir)" \
version="@PACKAGE_VERSION@" name="@PACKAGE_NAME@" \
doxygen $(top_srcdir)/doc/Doxyfile
Expand Down

0 comments on commit 43f34f5

Please sign in to comment.