CC     src/core/libsystemd_core_la-syscall-list.lo
src/core/syscall-list.c:31:29: fatal error: syscall-to-name.h: No such file or 
directory
---
 Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index b16c01a..d8c7185 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1008,6 +1008,10 @@ CLEANFILES += \
        src/core/syscall-from-name.h \
        src/core/syscall-to-name.h
 
+BUILT_SOURCES += \
+       src/core/syscall-from-name.h \
+       src/core/syscall-to-name.h
+
 src/core/syscall-list.txt: Makefile
        $(AM_V_GEN)cpp -dM -include sys/syscall.h < /dev/null | $(AWK) 
'/^#define[ \t]+__NR_[^ ]+[ \t]+[0-9]/ { sub(/__NR_/, "", $$2); print $$2; }' > 
$@ || rm $@
 
-- 
1.7.11.1.282.g511ba53

_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to