more fixes for out of tree builds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These are needed to support out of tree builds, but I do not know the
correct way to properly fix the bugs in Makefile.am.

-- 
ciao,
Marco
--- a/extras/gudev/docs/Makefile.in
+++ b/extras/gudev/docs/Makefile.in
@@ -300,6 +300,7 @@ GPATH = $(srcdir)
 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
 
 # This includes the standard gtk-doc make rules, copied by gtkdocize.
+srcdir := $(builddir)
 
 # Other files to distribute
 # e.g. EXTRA_DIST += version.xml.in
--- a/libudev/docs/Makefile.in
+++ b/libudev/docs/Makefile.in
@@ -292,6 +292,7 @@ GPATH = $(srcdir)
 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
 
 # This includes the standard gtk-doc make rules, copied by gtkdocize.
+srcdir := $(builddir)
 
 # Other files to distribute
 # e.g. EXTRA_DIST += version.xml.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -2912,6 +2912,7 @@ install-data-local:
 @ENABLE_EXTRAS_TRUE@	ln -sf $(libexecdir)/udev-acl $(DESTDIR)$(prefix)/lib/ConsoleKit/run-seat.d/udev-acl.ck
 
 @ENABLE_EXTRAS_TRUE@extras/keymap/keys.txt: /usr/include/linux/input.h
+@ENABLE_EXTRAS_TRUE@	@$(MKDIR_P) extras/keymap
 @ENABLE_EXTRAS_TRUE@	$(AM_V_GEN)$(AWK) '/^#define.*KEY_[^ ]+[ \t]+[0-9]/ { if ($$2 != "KEY_MAX") { print $$2 } }' < $< | sed 's/^KEY_COFFEE$$/KEY_SCREENLOCK/' > $@
 
 @ENABLE_EXTRAS_TRUE@extras/keymap/keys-from-name.gperf: extras/keymap/keys.txt

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux