GNOME Bugzilla – Bug 108694
'make install' ignores DESTDIR
Last modified: 2004-12-22 21:47:04 UTC
When trying to generate a gtkmm-2.2.1 package as non-root user, the installation fails because the given snapshot directory will be ignored: | + make DESTDIR=/var/tmp/gtkmm2-2.2.1-root install | ... | make[2]: Entering directory `/var/volatile/rpm/BUILD/gtkmm-2.2.1/examples/book' | Making install in alignment | make[3]: Entering directory `/var/volatile/rpm/BUILD/gtkmm-2.2.1/examples/book/alignment' | make[4]: Entering directory `/var/volatile/rpm/BUILD/gtkmm-2.2.1/examples/book/alignment' | make[4]: Nothing to be done for `install-exec-am'. | /bin/sh ../../../scripts/mkinstalldirs /usr/share/doc/gtkmm-2.0/examples/book/alignment | mkdir -p -- /usr/share/doc/gtkmm-2.0/examples/book/alignment | mkdir: cannot create directory `/usr/share/doc/gtkmm-2.0/examples': Read-only file system | make[4]: *** [install-example-src] Error 1 | make[4]: Leaving directory `/var/volatile/rpm/BUILD/gtkmm-2.2.1/examples/book/alignment' The attached patch fixes it.
Created attachment 15101 [details] [review] Fix for 'make DESTDIR=... install'
Wonderful. I suspect that this fixes distcheck too. This should be applied to both "branches". Thanks.
Applied to gtkmm 2.2. It didn't succeed for gtkmm 2.4, which doesn't seem to have the same rules in Makefile.am_fragment.
Thanks Ole.
Applied to glibmm 2.4 and gtkmm 2.4