[systemd-commits] 2 commits - .gitignore Makefile.am

Lennart Poettering lennart at kemper.freedesktop.org
Tue Jul 17 03:28:36 PDT 2012


 .gitignore  |    2 ++
 Makefile.am |    4 ++++
 2 files changed, 6 insertions(+)

New commits:
commit 69b7fedfc075f67b0c78f6fe0a1ef3a0ddb0a921
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Tue Jul 17 08:30:58 2012 +0200

    gitignore: tags files

diff --git a/.gitignore b/.gitignore
index c4a7b0d..8928071 100644
--- a/.gitignore
+++ b/.gitignore
@@ -125,3 +125,5 @@ stamp-*
 /v4l_id
 /test-libudev
 /test-udev
+/TAGS
+/tags

commit cc9f61b81517655dd8451c96316384f8055d91e3
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Tue Jul 17 08:30:38 2012 +0200

    build-sys: automake needs to know about generated files
    
    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

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 $@
 



More information about the systemd-commits mailing list