From 46eabebbba19b56a66620644d49c69f103eb9368 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Sat, 17 Feb 2024 10:03:22 +0100 Subject: [PATCH] autotools: make errnos.h available without lsfd MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit enosys will use it. Signed-off-by: Thomas Weißschuh --- misc-utils/Makemodule.am | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/misc-utils/Makemodule.am b/misc-utils/Makemodule.am index 445f1e44c..7524056ed 100644 --- a/misc-utils/Makemodule.am +++ b/misc-utils/Makemodule.am @@ -1,3 +1,10 @@ +errnos.h: $(top_srcdir)/tools/all_errnos + @echo ' GEN $@' + @$(top_srcdir)/tools/all_errnos $(CC) $(CFLAGS) + +-include errnos.h.deps +CLEANFILES += errnos.h errnos.h.deps + if BUILD_CAL usrbin_exec_PROGRAMS += cal MANPAGES += misc-utils/cal.1 @@ -275,13 +282,6 @@ if BUILD_LSFD misc-utils/lsfd-file.c: errnos.h -errnos.h: $(top_srcdir)/tools/all_errnos - @echo ' GEN $@' - @$(top_srcdir)/tools/all_errnos $(CC) $(CFLAGS) - --include errnos.h.deps -CLEANFILES += errnos.h errnos.h.deps - bin_PROGRAMS += lsfd MANPAGES += misc-utils/lsfd.1 dist_noinst_DATA += misc-utils/lsfd.1.adoc -- 2.47.3