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

@@ -20,7 +20,7 @@
# Don't depend on $(BISON) otherwise we would rebuild these files
# in srcdir, including during distcheck, which is forbidden.
%D%/parser.stamp: $(BISON_IN) $(dist_pkgdata_DATA)
%D%/parser.stamp: $(dependencies)
SUFFIXES += .yy .stamp
.yy.stamp:
$(AM_V_YACC)rm -f $@