From: Thomas Weißschuh Date: Sat, 17 Feb 2024 09:03:22 +0000 (+0100) Subject: autotools: make errnos.h available without lsfd X-Git-Tag: v2.42-start~523 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=46eabebbba19b56a66620644d49c69f103eb9368;p=thirdparty%2Futil-linux.git autotools: make errnos.h available without lsfd enosys will use it. Signed-off-by: Thomas Weißschuh --- 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