Enable Qt's uic to process the .ui files when using srcdir != buildir and

precompiled headers.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9481 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-01-15 19:17:11 +00:00
parent 46e21249ef
commit 49cc508422
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-01-15 Angus Leeming <leeming@lyx.org>
* ui/Makefile.am: enable Qt's uic to process the .ui files
when using srcdir != buildir and precompiled headers.
2005-01-13 Angus Leeming <leeming@lyx.org>
* Makefile.dialogs: add QPrefCygwinPathModule.ui.

View File

@ -30,4 +30,4 @@ UICFLAGS=-tr qt_
%.h: %.ui
$(UIC) $(UICFLAGS) $< -o $@
%.C: %.h %.ui $(PCH_FILE)
$(UIC) $(UICFLAGS) -impl `echo $^ | sed 's/pch.h.gch//'` -o $@
$(UIC) $(UICFLAGS) -impl `echo $^ | sed 's/[^ ]*pch.h.gch//'` -o $@