summaryrefslogtreecommitdiff
path: root/src/udev/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev/Makefile')
-rw-r--r--src/udev/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/udev/Makefile b/src/udev/Makefile
index 187712f651..b355ac8726 100644
--- a/src/udev/Makefile
+++ b/src/udev/Makefile
@@ -84,8 +84,7 @@ noinst_LTLIBRARIES += \
libudev-core.la
$(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 } }' > $@
+ $(AM_V_GEN)$(CPP) $(ALL_CPPFLAGS) -dM -include linux/input.h - < /dev/null | $(AWK) '/^#define[ \t]+KEY_[^ ]+[ \t]+[0-9K]/ { if ($$2 != "KEY_MAX") { print $$2 } }' > $@
$(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 }' < $< > $@