diff options
author | Jan Kara <jack@suse.cz> | 2022-09-21 17:45:57 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2022-09-21 17:45:57 +0200 |
commit | ef40e8443ff392b9123a50e5bf19798088e74526 (patch) | |
tree | c48e0907a395e20c043f924a49ce24d7a516d0dc | |
parent | 0f1a460d4347ec13598c1fe90d9a76a840f08e62 (diff) | |
download | linuxquota-ef40e8443ff392b9123a50e5bf19798088e74526.tar.gz |
Avoid including manpages multiple times in man_MANS
Due to variable assignments getting reordered by automake the variable
man_MANS contained some manpages two times. This then resulted in
complaints when installing the manpages. Avoid the problem by reworking
how the list of manpages is constructed.
Signed-off-by: Jan Kara <jack@suse.cz>
-rw-r--r-- | Makefile.am | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am index f9c66cc..372eafb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,7 +13,7 @@ sysconf_DATA = \ quotatab \ quotagrpadmins -dist_MANS = \ +man_MANS = \ convertquota.8 \ edquota.8 \ quotagrpadmins.5 \ @@ -28,22 +28,24 @@ dist_MANS = \ warnquota.conf.5 \ warnquota.8 \ xqmstats.8 +dist_MANS = -man_MANS = $(dist_MANS) - -dist_MANS += quota_nld.8 if WITH_NETLINK man_MANS += quota_nld.8 +else +dist_MANS += quota_nld.8 endif -dist_MANS += \ - rpc.rquotad.8 \ - rquota.3 if WITH_RPC man_MANS += \ rpc.rquotad.8 \ rquota.3 +else +dist_MANS += \ + rpc.rquotad.8 \ + rquota.3 endif +dist_MANS += $(man_MANS) SUBDIRS = po |