All of lore.kernel.org
 help / color / mirror / Atom feed
From: md@Linux.IT (Marco d'Itri)
To: linux-hotplug@vger.kernel.org
Subject: more fixes for out of tree builds
Date: Mon, 09 Nov 2009 03:46:09 +0000	[thread overview]
Message-ID: <20091109034609.GA28618@bongo.bofh.it> (raw)

[-- Attachment #1: Type: text/plain, Size: 140 bytes --]

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

[-- Attachment #2: fix-builddir-gtk-doc --]
[-- Type: text/plain, Size: 618 bytes --]

--- 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

[-- Attachment #3: fix-builddir-keymap --]
[-- Type: text/plain, Size: 557 bytes --]

--- 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

             reply	other threads:[~2009-11-09  3:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-09  3:46 Marco d'Itri [this message]
2009-11-09 11:18 ` more fixes for out of tree builds Kay Sievers
2009-11-09 14:03 ` Dan Nicholson
2009-11-09 14:19 ` Marco d'Itri
2009-11-09 22:43 ` Karel Zak
2009-11-09 23:13 ` Karel Zak
2009-11-10  5:40 ` Kay Sievers
2009-11-10  9:01 ` Martin Pitt
2009-11-10 10:36 ` Karel Zak
2009-11-10 11:12 ` Martin Pitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091109034609.GA28618@bongo.bofh.it \
    --to=md@linux.it \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.