include $(top_srcdir)/config/common.am
-CLEANFILES += $(UIFILES:%.ui=ui_%.h)
-CLEANFILES += $(MOCEDFILES)
-
BUILT_SOURCES = $(UIFILES:%.ui=ui_%.h)
BUILT_SOURCES += $(MOCEDFILES)
BUILT_SOURCES += Resources.cpp Resources.qrc
+CLEANFILES += $(BUILT_SOURCES)
+
######################### Qt stuff #############################
# Use _() for localization instead of tr() or trUtf8()
UIC4FLAGS=-tr lyx::qt_
ButtonPolicy.h \
Dialog.cpp \
Dialog.h \
- DialogView.cpp \
Resources.cpp \
Action.cpp \
BulletsModule.cpp \
GuiClipboard.cpp \
GuiCommandBuffer.cpp \
GuiCommandEdit.cpp \
+ GuiCompleter.cpp \
GuiDelimiter.cpp \
GuiDialog.cpp \
GuiDocument.cpp \
GuiFontLoader.cpp \
GuiFontMetrics.cpp \
GuiGraphics.cpp \
+ GuiHSpace.cpp \
GuiHyperlink.cpp \
+ GuiIdListModel.cpp \
GuiImage.cpp \
GuiInclude.cpp \
- GuiIndex.cpp \
GuiKeySymbol.cpp \
+ GuiLabel.cpp \
GuiListings.cpp \
GuiLog.cpp \
GuiMath.cpp \
GuiMathMatrix.cpp \
- GuiMenubar.cpp \
GuiNomencl.cpp \
GuiNote.cpp \
GuiPainter.cpp \
GuiParagraph.cpp \
- GuiPopupMenu.cpp \
GuiPrefs.cpp \
GuiPrint.cpp \
- GuiProgress.cpp \
GuiRef.cpp \
GuiSearch.cpp \
GuiSelection.cpp \
GuiSetBorder.cpp \
GuiShowFile.cpp \
GuiSpellchecker.cpp \
+ GuiSymbols.cpp \
GuiTabular.cpp \
GuiTabularCreate.cpp \
GuiTexinfo.cpp \
LengthCombo.cpp \
LyXFileDialog.cpp \
LaTeXHighlighter.cpp \
+ Menus.cpp \
PanelStack.cpp \
qt_helpers.cpp \
TocModel.cpp \
NOMOCHEADER = \
ButtonController.h \
+ ColorCache.h \
+ DialogView.h \
+ DockView.h \
+ FileDialog.h \
+ GuiCommand.h \
+ GuiFontExample.h \
GuiFontLoader.h \
GuiFontMetrics.h \
+ GuiIdListModel.h \
GuiImage.h \
+ GuiKeySymbol.h \
GuiMath.h \
GuiPainter.h \
GuiToolbars.h \
+ LaTeXHighlighter.h \
qt_helpers.h
MOCHEADER = \
Action.h \
BulletsModule.h \
- ColorCache.h \
CustomizedWidgets.h \
- DialogView.h \
- DockView.h \
EmptyTable.h \
FloatPlacement.h \
GuiAbout.h \
GuiClipboard.h \
GuiCommandBuffer.h \
GuiCommandEdit.h \
+ GuiCompleter.h \
GuiDelimiter.h \
GuiDialog.h \
GuiDocument.h \
GuiERT.h \
GuiExternal.h \
GuiFloat.h \
- GuiFontExample.h \
GuiGraphics.h \
+ GuiHSpace.h \
GuiHyperlink.h \
GuiInclude.h \
- GuiIndex.h \
- GuiKeySymbol.h \
+ GuiLabel.h \
GuiListings.h \
GuiLog.h \
GuiMathMatrix.h \
- GuiMenubar.h \
GuiNomencl.h \
GuiNote.h \
GuiParagraph.h \
- GuiPopupMenu.h \
GuiPrefs.h \
GuiPrint.h \
- GuiProgress.h \
GuiRef.h \
GuiSearch.h \
GuiSelection.h \
GuiSetBorder.h \
GuiShowFile.h \
GuiSpellchecker.h \
+ GuiSymbols.h \
GuiTabularCreate.h \
GuiTabular.h \
GuiTexinfo.h \
InsertTableWidget.h \
LengthCombo.h \
LyXFileDialog.h \
- LaTeXHighlighter.h \
+ Menus.h \
PanelStack.h \
- qlkey.h \
TocModel.h \
TocWidget.h \
Validator.h
ErrorListUi.ui \
ERTUi.ui \
ExternalUi.ui \
- EmbeddedFilesUi.ui \
FloatPlacementUi.ui \
FloatUi.ui \
FontUi.ui \
GraphicsUi.ui \
+ HSpaceUi.ui \
HyperlinkUi.ui \
IncludeUi.ui \
- IndexUi.ui \
+ LabelUi.ui \
LanguageUi.ui \
LaTeXUi.ui \
ListingsUi.ui \
PDFSupportUi.ui \
PreambleUi.ui \
PrefColorsUi.ui \
+ PrefCompletionUi.ui \
PrefConvertersUi.ui \
PrefDateUi.ui \
PrefDisplayUi.ui \
+ PrefEditUi.ui \
PrefFileformatsUi.ui \
PrefIdentityUi.ui \
- PrefKeyboardUi.ui \
+ PrefInputUi.ui \
PrefLanguageUi.ui \
PrefLatexUi.ui \
PrefPathsUi.ui \
ShortcutUi.ui \
ShowFileUi.ui \
SpellcheckerUi.ui \
+ SymbolsUi.ui \
TabularCreateUi.ui \
TabularUi.ui \
TexinfoUi.ui \
$(NOMOCHEADER)
BUILT_SOURCES += liblyxqt4.cpp
+CLEANFILES += liblyxqt4.cpp
else
$(MOCHEADER) \
$(NOMOCHEADER)
-EXTRA_DIST = pch.h
+EXTRA_DIST = pch.h ui/compile_uic.sh $(UIFILES:%=ui/%)
BUILT_SOURCES += $(PCH_FILE)
AM_CPPFLAGS += $(PCH_FLAGS)