diff options
author | Stepan Kasal | 2007-05-15 20:46:12 +0200 |
---|---|---|
committer | Karel Zak | 2007-05-16 11:43:29 +0200 |
commit | d7b745465456dcecd8056d26fc7139bb26c8e03c (patch) | |
tree | e38855757af486d9b2e1010892d1b9fc620314a5 /config | |
parent | build-sys: simplify "clean" in tests/Makefile.am (diff) | |
download | kernel-qcow2-util-linux-d7b745465456dcecd8056d26fc7139bb26c8e03c.tar.gz kernel-qcow2-util-linux-d7b745465456dcecd8056d26fc7139bb26c8e03c.tar.xz kernel-qcow2-util-linux-d7b745465456dcecd8056d26fc7139bb26c8e03c.zip |
build-sys: use dist_noinst_DATA to work around the bug with dist_man_MANS
Automake mishandles dist_man_MANS. Using dist_noinst_DATA to work
around this is more elegant than using dist-hook.
Signed-off-by: Stepan Kasal <skasal@redhat.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/include-Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/include-Makefile.am b/config/include-Makefile.am index 18f8474dc..6e306556f 100644 --- a/config/include-Makefile.am +++ b/config/include-Makefile.am @@ -7,3 +7,9 @@ mandir = $(datadir)/man AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include \ -DLOCALEDIR=\"$(localedir)\" AM_CFLAGS = -fsigned-char -fomit-frame-pointer + +# Automake (at least up to 1.10) mishandles dist_man_MANS inside conditionals. +# Unlike with other dist primaries, the files are not distributed if the +# conditional is false. +# Work the bug around until it is fixed: +dist_noinst_DATA = $(man_MANS) |