GNOME Bugzilla – Bug 106271
using mv in makefile
Last modified: 2004-12-22 21:47:04 UTC
In the LowContrastLargePrint/Makefile.am, a command 'mv foo /some/path' is there - this should probably use 'install', and even if not, that must be $(DESTDIR)/some/path - I have to patch it to build packages of the file, since the package system in Arch Linux needs 'make DESTDIR=/blah install' to work.
Looks like it's just moving away the theme under a certain condition (CORE_THEMES_ONLY). Something that's there for testing?
It's there for more than testing (it happens in the default build), it is indeed a bit of an ugly hack. Needs fixing once I understand what the right fix should be ...
just adding $(DESTDIR) in front of the path fixes at least the issues I have. The thing is, DESTDIR is a "standard" prefix - if you don't put that in front of any custom path operations, then usage of it will fail; that's my only gripe.
*** Bug 48403 has been marked as a duplicate of this bug. ***
D'oh bollocks, typed in the wrong field... this is NOT a duplicate of 48403.
As far as I can see, all the 'mv's are already in the format ($DESTDIR)/from ($DESTDIR)/to ... can you try the latest tarball (2.3.2) or build from HEAD, and see if you still have the problem?
Unfortunately, not really - I don't package for the distro where I ran into this bug, or even use that distro anymore. Something simple like ./configure --prefix=/test && make DESTDIR=$HOME/blah install should reproduce if there's still a problem - all the files should end up in $HOME/blah/test If this package doesn't need GNOME 2.3, I can try building it myself if you need, when I get home tonight.
Just tried and it seems to work for me, but confirmation would be useful, thanks...
Had trouble getting 2.3.2 to build (building engines, the paths to .so files are used versus -lname, and that doesn't seem to work on this RedHat9 box... need to figure out if that's a redhat issue or no - may be Nyquist's RPM's). After a bit of symbolic linking, I got it to build - quick test case is, as a normal (non root) user, ./configure --prefix=/non/existant/directory && make && make DESTIR=`pwd`/installdir install All the files went into `pwd`/installdir/non/existant/directory as expected. So, bug seems fixed, in gnome-themes 2.3.2. ^,^
Great, thanks. Closing as FIXED then.