Hi,
While building docs, I found a strange behavior on qt snapshot build:
at the 1st run, the Makefile isn't generated properly.
./configure [..]
make
make install
It reads doc/doc.pri and generate an install target for doc using INSTALL_FILE.
[..]
install -m 644 -p [..]
install: omitting directory
[..]
install_htmldocs: FORCE
@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/qt4/doc/ ||
$(MKDIR) $(INSTALL_ROOT)/usr/share/qt4/doc/
-$(INSTALL_FILE)
/tmp/buildd/qt4-x11-4.5.0~beta1+snapshot20090110/doc/html
$(INSTALL_ROOT)/usr/share/qt4/doc/
install_qchdocs: FORCE
@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/qt4/doc/ ||
$(MKDIR) $(INSTALL_ROOT)/usr/share/qt4/doc/
-$(INSTALL_FILE)
/tmp/buildd/qt4-x11-4.5.0~beta1+snapshot20090110/doc/qch
$(INSTALL_ROOT)/usr/share/qt4/doc/
it should have used INSTALL_DIR: cp -f -r
if I run again qmake manually using exactly the same command found in
the Makefile header,
it generates properly the Makefile using INSTALL_DIR.
Command: /tmp/buildd/qt4-x11-4.5.0~beta1+snapshot20090110/bin/qmake-qt4
-spec mkspecs/linux-g++ -unix -o Makefile projects.pro
install_htmldocs: FORCE
@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/qt4/doc/ ||
$(MKDIR) $(INSTALL_ROOT)/usr/share/qt4/doc/
-$(INSTALL_DIR)
/tmp/buildd/qt4-x11-4.5.0~beta1+snapshot20090110/doc/html
$(INSTALL_ROOT)/usr/share/qt4/doc/
install_qchdocs: FORCE
@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/qt4/doc/ ||
$(MKDIR) $(INSTALL_ROOT)/usr/share/qt4/doc/
-$(INSTALL_DIR)
/tmp/buildd/qt4-x11-4.5.0~beta1+snapshot20090110/doc/qch
$(INSTALL_ROOT)/usr/share/qt4/doc/
Any ideas ?
cheers,
Fathi
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback