From 49501a8888003350ff94a75f20f5b30254d9bf2c Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 17 Oct 2020 17:48:03 +0200 Subject: [PATCH] Add default to generate prerequisistes for any rule --- Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 15a94b424b..ae48d1ac68 100644 --- a/Makefile.am +++ b/Makefile.am @@ -70,8 +70,6 @@ LDADD = gl/libgl.la gl/libgl.la: config.h $(MAKE) -C gl -dist: gl/libgl.la - # This ensures that files added to EXTRA_DIST are always distributed, # even if they are inside an Automake if...endif conditional block that is # disabled by some particular "configure" run. For more information, see: @@ -160,4 +158,8 @@ distfiles: Makefile -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t" \ | LC_ALL=C sort -u > $@ CLEANFILES += distfiles gitfiles missing-distfiles -PHONY += dist-hook-git +PHONY += dist-hook-git dummy-prerequisistes + +-include dummy-prerequisistes + +dummy-prerequisistes: $(BUILT_SOURCES) gl/libgl.la -- 2.30.2