Skip to contentSkip to conversation

g-ir-scanner: fix out of tree builds

PATCH Applied Marco d'Itri 2 participants 4 messages Nov 9, 2009 – Nov 10, 2009 Kbuild

lore
Share & tools
lore
#0 lore raw
Signature · 2 lines
ciao,
Marco
Makefile.am +2 -1
@@ -377,12 +377,13 @@ extras/gudev/GUdev-1.0.gir: extras/gudev
 		--pkg=glib-2.0 \
 		--pkg=gobject-2.0 \
 		-I$(top_srcdir)/extras \
+		-I$(top_builddir)/extras \
 		-D_GUDEV_COMPILATION \
 		-DG_UDEV_API_IS_SUBJECT_TO_CHANGE \
 		$(top_srcdir)/extras/gudev/gudev.h \
 		$(top_srcdir)/extras/gudev/gudevtypes.h \
 		$(top_srcdir)/extras/gudev/gudevenums.h \
-		$(top_srcdir)/extras/gudev/gudevenumtypes.h \
+		$(top_builddir)/extras/gudev/gudevenumtypes.h \
 		$(top_srcdir)/extras/gudev/gudevclient.h \
 		$(top_srcdir)/extras/gudev/gudevdevice.h \
 		$(top_srcdir)/extras/gudev/gudevclient.c \
#1 lore raw

On Mon, Nov 9, 2009 at 04:37, Marco d'Itri <[email protected]> wrote:

That breaks the currently working build with:
make: *** No rule to make target GUdev-1.0.gir', needed by distdir'. Stop.

Kay

#2 lore raw
In reply to Marco d'Itri
Quoted 4 lines · Kay Sievers

On Mon, Nov 9, 2009 at 04:37, Marco d'Itri <[email protected]> wrote:

That breaks the currently working build with:
 make: *** No rule to make target GUdev-1.0.gir', needed by distdir'.  Stop.

Oh, sorry, seems, that doesn't work even without your change. Need to check what's going wrong here ...

Kay

Applied
#3 lore raw
In reply to Marco d'Itri
Quoted 8 lines · Kay Sievers
Quoted 4 lines · Kay Sievers

On Mon, Nov 9, 2009 at 04:37, Marco d'Itri <[email protected]> wrote:

That breaks the currently working build with:
 make: *** No rule to make target GUdev-1.0.gir', needed by distdir'.  Stop.

Oh, sorry, seems, that doesn't work even without your change. Need to check what's going wrong here ...

Applied. Seems to work fine with distcheck now.

Thanks,
Kay