]> err.no Git - systemd/commitdiff
Include the correct directory for out-of-source builds.
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>
Fri, 7 Aug 2009 09:21:34 +0000 (11:21 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 7 Aug 2009 17:15:31 +0000 (19:15 +0200)
When building in-source, the source and header files are in the same
directory, but they are not in out-of-source.

Makefile.am

index 93302185e31b22e95673716e34b02f1b1eb91be1..f3f3940b01bbbc6bf9533643a040bde0513a455e 100644 (file)
@@ -259,6 +259,7 @@ extras_modem_modeswitch_modem_modeswitch_CPPFLAGS = $(AM_CPPFLAGS) $(LIBUSB_CFLA
 extras_modem_modeswitch_modem_modeswitch_LDADD = libudev/libudev-private.la $(LIBUSB_LIBS)
 
 extras_keymap_keymap_SOURCES = extras/keymap/keymap.c
+extras_keymap_keymap_CPPFLAGS = $(AM_CPPFLAGS) -I extras/keymap
 nodist_extras_keymap_keymap_SOURCES = \
        extras/keymap/keys-from-name.h \
        extras/keymap/keys-to-name.h