No rule to make target `../locale/qm-files'
Brought to you by:
yakin
Build gets to 99% then errors with:
Scanning dependencies of target locale
make[2]: *** No rule to make target `../locale/qm-files', needed by `locale/CMakeFiles/locale'. Stop.
make[1]: *** [locale/CMakeFiles/locale.dir/all] Error 2
make: *** [all] Error 2
Building 2.1-0 from tarball.
Hmm, can you please post me the complete output of make?
I've since worked around this error, here's the %build section of my spec file with the relevant changes needed:
%build
%__install -dm 755 build
pushd build
export QTDIR=%qt4dir
PATH=%qt4bin:$PATH
export PATH
cmake \ -DCMAKE_INSTALL_PREFIX=%{buildroot}%{_prefix} \ -DCMAKE_LIBDIR="%{buildroot}%{_libdir}" VERBOSE=1\ ..
# dirty hack ...
%__cp ../locale/pinky*.ts locale
# fix locale target
%__sed -i -e 's|\.\./locale|locale|g' locale/CMakeFiles/locale.dir/build.make
%__make
popd