From 760dbc4f819bdf928d6d9ca287b5a871fed9241f Mon Sep 17 00:00:00 2001 From: Peter Mikkelsen Date: Wed, 29 Apr 2026 19:45:56 +0200 Subject: Change to how aplwc.1 is built --- src/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index b9463d4..34d0ffd 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,5 @@ bin_PROGRAMS = aplwc -dist_man_MANS = aplwc.1 +man_MANS = aplwc.1 aplwc_SOURCES = \ main.c \ @@ -13,6 +13,7 @@ aplwc_CPPFLAGS = $(READLINE_CFLAGS) -DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir) aplwc_LDADD = $(LTLIBINTL) ../lib/libaplwc.la ../gnu/libgnu.la $(READLINE_LIBS) CLEANFILES = aplwc.1 +BUILT_SOURCES = aplwc.1 -aplwc.1: aplwc +aplwc.1: aplwc$(EXEEXT) $(AM_V_GEN)help2man --output=$@ $(top_builddir)/src/aplwc$(EXEEXT) -- cgit v1.2.3