Do not define DIST_SUBDIRS when not needed

DIST_SUBDIRS is automatically populated with all possible values of
SUBDIRS in all conditions:

    https://www.gnu.org/software/automake/manual/html_node/SUBDIRS-vs-DIST_005fSUBDIRS.html

This means it is usually not needed to explicitely set it but in
examples/, where some dirs are never added to SUBDIRS.
This commit is contained in:
Nicola Fontana
2021-05-26 09:18:06 +02:00
parent 6c6dccc378
commit 205337fed1
3 changed files with 9 additions and 22 deletions
+2
View File
@@ -54,6 +54,8 @@ SUBDIRS += \
endif
endif
# Here DIST_SUBDIRS needs to be explicitely defined because
# dc_rtai, mini and rtai are never added to `SUBDIRS`
DIST_SUBDIRS = \
dc_rtai \
dc_user \