summaryrefslogtreecommitdiff
path: root/src/udev/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 15:55:01 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 15:55:01 -0400
commit0b083d1977f410c8065e9d1f2534c83c58bfc907 (patch)
tree6b2f479626bfe02ec38bf6f13e3506fbfc387965 /src/udev/Makefile
parent06cbbe0055ad8af01226a4f50470d139fe8c94d1 (diff)
parentc5b004f177571982989505c4aeef9c57af3353bd (diff)
Merge branch 'lukeshu/postmove' into lukeshu/master
# Conflicts: # src/journal/Makefile # src/libsystemd/Makefile # src/libsystemd/libsystemd-internal/Makefile # src/libsystemd/libsystemd-journal-internal/Makefile
Diffstat (limited to 'src/udev/Makefile')
-rw-r--r--src/udev/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/udev/Makefile b/src/udev/Makefile
index 8058082c05..22fe5075cf 100644
--- a/src/udev/Makefile
+++ b/src/udev/Makefile
@@ -83,14 +83,14 @@ rootlibexec_PROGRAMS += \
noinst_LTLIBRARIES += \
libudev-core.la
-src/udev/keyboard-keys-list.txt:
+$(outdir)/keyboard-keys-list.txt:
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include linux/input.h - < /dev/null | $(AWK) '/^#define[ \t]+KEY_[^ ]+[ \t]+[0-9K]/ { if ($$2 != "KEY_MAX") { print $$2 } }' > $@
-src/udev/keyboard-keys-from-name.gperf: src/udev/keyboard-keys-list.txt
+$(outdir)/keyboard-keys-from-name.gperf: src/udev/keyboard-keys-list.txt
$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct key { const char* name; unsigned short id; };"; print "%null-strings"; print "%%";} { print tolower(substr($$1 ,5)) ", " $$1 }' < $< > $@
-src/udev/keyboard-keys-from-name.h: src/udev/keyboard-keys-from-name.gperf
+$(outdir)/keyboard-keys-from-name.h: src/udev/keyboard-keys-from-name.gperf
$(AM_V_GPERF)$(GPERF) -L ANSI-C -t -N keyboard_lookup_key -H hash_key_name -p -C < $< > $@
gperf_txt_sources += \
@@ -269,7 +269,7 @@ check_DATA += \
endif
# packed sysfs test tree
-test/sys:
+$(outdir)/sys:
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)tar -C test/ -xJf $(top_srcdir)/test/sys.tar.xz