]> git.draconx.ca Git - rrace.git/commitdiff
Ensure manpages are distributed.
authorNick Bowler <nbowler@draconx.ca>
Wed, 8 Jun 2022 03:51:59 +0000 (23:51 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 8 Jun 2022 03:51:59 +0000 (23:51 -0400)
It seems using dist_man_MANS in an Automake conditional doesn't actually
ensure the manpage is distributed, so we need to just use man_MANS in
the conditional and EXTRA_DIST unconditionally.

Makefile.am

index 0334b2049da3d6b1a58633b1c2fea25131a5a517..821701d39acc2b501b0dbaeee1a6382694f1a2db 100644 (file)
@@ -24,9 +24,11 @@ endif
 
 if HAVE_MOTIF
 bin_PROGRAMS += rrace-motif
-dist_man_MANS = doc/rrace-motif.1
+man_MANS = doc/rrace-motif.1
 endif
 
+EXTRA_DIST += doc/rrace-motif.1
+
 noinst_HEADERS = conf_post.h src/version.h
 
 rrace_curses_SOURCES = common/src/help.c src/game.c src/version.c