chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8351cea
)
build-sys: automake needs to know about generated files
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 17 Jul 2012 06:30:38 +0000
(08:30 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 17 Jul 2012 10:22:16 +0000
(12:22 +0200)
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
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index b16c01ae6780c2c39456c3c6e4ab743fc909ea3a..d8c7185fe749104b52c121f9a87a1704936a3733 100644
(file)
--- 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 $@