automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting long SOURCES lines with subdirs shorter


From: Jacob Bachmeyer
Subject: Re: Getting long SOURCES lines with subdirs shorter
Date: Sun, 16 Jul 2023 20:48:23 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0

Jan Engelhardt wrote:
Given

        a_SOURCES = aprog/main.c aprog/foo.c aprog/bar.c aprog/baz.c ...

The more source files there are to be listed, the longer that line gets, the bigger the Makefile.am fragment becomes, etc. I am thinking about how to cut that repetition down. Current automake likely won't have anything in store already, so I'm thinking of editing automake and targeting a future automake release.

While this does not reduce the repetition, Automake allows backslash-continuation on these lines. DejaGnu uses it to list files one per line in some places; see <URL:http://git.savannah.gnu.org/cgit/dejagnu.git/tree/Makefile.am>.

-- Jacob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]