bug-automake
[Top][All Lists]
Advanced

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

dependency system: better use "-include"


From: Thomas Langen
Subject: dependency system: better use "-include"
Date: Fri, 24 May 2002 09:48:31 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020412 Debian/0.9.9-6

The decision to make the dependency system include dependency files by the command "include $(DEPDIR)/Desktop.Po" or alike has an ugly side-effect: For project management systems these dependency files are typically not stored so checking out the source tree leaves it without them. Then, for the first run, this results in warnings claiming that these files are missing. I suggest the following fixes:

1. use the "silent inclusion" sinclude or -include instead of include, then these files are just ignored if missing

2. have a rule to automatically touch (create) these dependency headers if they are missing - they do not cause any harm if empty, and they will get updated on compiler runs.

--
Thomas Langen
address@hidden




reply via email to

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