examples: fix dependencies

Commit 112ccb5ed7 moved the skeletons
from dist_pkgdata_DATA to dist_skeletons_DATA, hence broke the dependencies.

* Makefile.am (dependencies): New.
Use it where appropriate.
This commit is contained in:
Akim Demaille
2018-12-26 08:44:01 +01:00
parent f44fcd30ea
commit 50285ff066
5 changed files with 13 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ if ENABLE_JAVA
endif
EXTRA_DIST += %D%/Calc.test
%D%/Calc.java: %D%/Calc.y $(BISON_IN) $(dist_pkgdata_DATA)
%D%/Calc.java: %D%/Calc.y $(dependencies)
$(AM_V_GEN)$(MKDIR_P) %D%
$(AM_V_at)$(BISON) $< -o $@