summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-07 02:38:08 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-07 02:38:08 -0400
commitd10902f55ae7aed2eeffedcd29d8ced80ec903ba (patch)
tree135c72aaa9c1a1fc73ff4a6ea0fdd89cb1f59ba1 /src/udev
parente7af93b77b33c6cb9241d5c72283357682394a96 (diff)
Makefile tidy
Diffstat (limited to 'src/udev')
-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 }' < $< > $@