]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
autotools: make errnos.h available without lsfd
authorThomas Weißschuh <thomas@t-8ch.de>
Sat, 17 Feb 2024 09:03:22 +0000 (10:03 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 22 Feb 2024 09:34:08 +0000 (10:34 +0100)
enosys will use it.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
misc-utils/Makemodule.am

index 445f1e44ca2637cac898356a7f34b47b80954d22..7524056ed047e7153761c432a2e900e6caf7eee9 100644 (file)
@@ -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