Remove dummy-prerequisite rule
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 27 Dec 2020 07:47:51 +0000 (08:47 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 27 Dec 2020 08:07:06 +0000 (09:07 +0100)
As Ben pointed out, this probably did more harm than good.  So instead,
this change adds some explicit dependencies where prerequisites are
known to be necessary.

Makefile.am

index 0dc9e17797f0382406f93265f09607ce40a4eb5f..5d020c65db2aee794959b299a2e6ef472b7e2bbe 100644 (file)
@@ -158,11 +158,9 @@ distfiles: Makefile
              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t" \
          | LC_ALL=C sort -u > $@
 CLEANFILES += distfiles gitfiles missing-distfiles
-PHONY += dist-hook-git dummy-prerequisites
+PHONY += dist-hook-git
 
--include dummy-prerequisites
-
-dummy-prerequisites: $(BUILT_SOURCES) gl/libgl.la
+$(bin_PROGRAMS) $(RECURSIVE_TARGETS) dist: $(BUILT_SOURCES) gl/libgl.la
 
 \f