GNOME Bugzilla – Bug 153429
Hard coded paths in Makefile
Last modified: 2005-08-06 18:30:10 UTC
The src/Makefile has hard coded paths to pygtk-2.0: gnomebt-controller.defs: python /usr/local/share/pygtk/2.0 ... gnomebt-chooser.defs: python /usr/local/share/pygtk/2.0 ... Distributuons such as Slackware, by not include this package by default so end up in /usr/local/share/ instead.
This makes no sense. Makefiles are not distributed. They are generated during the ./configure process.
You're absolutely correct, it made no sense. They are generated at configuration time using confoiguration scripts (.am, .in). However, if you look at src/Makefile.am & src/Makefile.in, you will find: gnomebt-controller.defs: gnomebt-controller.h python /usr/share/pygtk/2.0/codegen/h2def.py -v gnomebt-controller.h > gnomebt-controller.defs gnomebt-chooser.defs: gnomebt-chooser.h python /usr/share/pygtk/2.0/codegen/h2def.py -v gnomebt-chooser.h > gnomebt-chooser.defs
OK, I'll take that as a bug. That should definitely be prefixed somehow.
2005-08-06 Bastien Nocera <hadess@hadess.net> * configure.in: * src/Makefile.am: Fix hard-coded h2def path in the Makefiles (Closes: #153429)