GNOME Bugzilla – Bug 585817
pygobject fails to make install outside source tree
Last modified: 2009-06-15 20:30:26 UTC
When building pygobject with builddir != srcdir, it fails at install stage: ---8<--- make[2]: *** No rule to make target `overrides/*.py', needed by `install-pygioverridesPYTHON'. Stop. make[2]: Leaving directory `/home/thep/build/gnome_git/pygobject/girepository' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/thep/build/gnome_git/pygobject/girepository' make: *** [install-recursive] Error 1 ---8<--- This is apparently caused by this line in girepository/Makefile.am: ---8<-- pygioverrides_PYTHON = overrides/*.py ---8<-- This may work when building inside source tree but the wildcard won't expand properly when building outside source tree. Neither does VPATH help in this case, as there is no file name to search.
Created attachment 136606 [details] [review] Prepending $(srcdir) Prepending $(srcdir) to the wildcard is a possible fix, although explicitly listing all $(srcdir)/overrides/*.py may look more elegant.
Thank you, committed.