]> git.draconx.ca Git - dxcommon.git/commitdiff
glconfig.mk: Remove some redundant prerequisites.
authorNick Bowler <nbowler@draconx.ca>
Wed, 6 Dec 2023 02:11:35 +0000 (21:11 -0500)
committerNick Bowler <nbowler@draconx.ca>
Wed, 6 Dec 2023 02:14:47 +0000 (21:14 -0500)
Since the glsym rules are only invoked recursively by a rule that
already has all required dependencies, it is not necessary to have
prerequisites on the individual glsym files to the gnulib headers.

As it turns out these redundant prerequisites trip up "make" on
ULTRIX 4.5 due to a bug expanding $(gnulib_symfiles) (which I do
not fully understand), dropping it basically makes things work
just fine, so no real reason to hang onto it.

snippet/glconfig.mk

index c35a8fb114f525a6fd21b46a24152766e234ad88..42d024eed3ba9673d24bf2206a4cf2275b595520 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright © 2011-2013, 2019, 2021-2022 Nick Bowler
+# Copyright © 2011-2013, 2019, 2021-2023 Nick Bowler
 #
 # Automake fragment to generate a Gnulib config header to rewrite exported
 # symbols.  This fragment relies on the Gnulib makefile postprocessing done by
@@ -32,7 +32,6 @@ gnulib_headers += $(GLCONFIG)
                -c -o $(@D)/.syms/$(*F).o $<
        $(AM_V_at) $(SHELL) $(top_builddir)/exported.sh \
                $(@D)/.syms/$(*F).o > $(@D)/.syms/$(*F).sym
-$(gnulib_symfiles): $(gnulib_core_headers)
 
 clean-local: clean-glconfig
 clean-glconfig: