summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2009-05-10 22:21:53 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2009-05-10 22:21:53 +0200
commit950cea7adef72497d39de0c71b8ef943b093125b (patch)
treea2d763b44d922216c0223e4a58f01b75eea06c62
parenta7f722a1240b5f0a44d2582bd530b2864ad61198 (diff)
keymap/Makefile.am: use configure-detected gperf path
We detect gperf presence and path in configure, so we should use it in keymap's Makefile. Thanks to Dan Nicholson for noticing!
-rw-r--r--keymap/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/keymap/Makefile.am b/keymap/Makefile.am
index 3b8ab74..0da136a 100644
--- a/keymap/Makefile.am
+++ b/keymap/Makefile.am
@@ -46,7 +46,7 @@ keys-from-name.gperf: keys.txt
awk 'BEGIN{ print "struct key { const char* name; unsigned short id; };"; print "%null-strings"; print "%%";} { print $$1 ", " $$1 }' < $< > $@
keys-from-name.h: keys-from-name.gperf Makefile
- gperf -t --ignore-case -N lookup_key -H hash_key_name -p -C < $< > $@
+ $(GPERF) -t --ignore-case -N lookup_key -H hash_key_name -p -C < $< > $@
keys-to-name.h: keys.txt Makefile
awk 'BEGIN{ print "const char* const key_names[KEY_CNT] = { "} { print "[" $$1 "] = \"" $$1 "\"," } END{print "};"}' < $< > $@