Fix:gui_qml:Create a dummy moc file in case of moc not working to make distcheck...
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 18 Mar 2010 09:21:15 +0000 (09:21 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 18 Mar 2010 09:21:15 +0000 (09:21 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@3048 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/gui/qml/Makefile.am

index a10c845..c0178d3 100644 (file)
@@ -5,8 +5,8 @@ libgui_qml_la_SOURCES = gui_qml.moc gui_qml.cpp proxy.moc proxy.h ngqpoint.moc n
 libgui_qml_la_LDFLAGS = @QT_DECLARATIVE_LIBS@ @QT_GUI_LIBS@ -module -avoid-version
 BUILT_SOURCES = gui_qml.moc proxy.moc ngqpoint.moc
 gui_qml.moc: gui_qml.cpp
-       @MOC@ $(srcdir)/gui_qml.cpp >gui_qml.moc
+       @MOC@ $(srcdir)/gui_qml.cpp >gui_qml.moc || touch gui_qml.moc
 proxy.moc: proxy.h
-       @MOC@ $(srcdir)/proxy.h >proxy.moc
+       @MOC@ $(srcdir)/proxy.h >proxy.moc || touch proxy.moc
 ngqpoint.moc: ngqpoint.h
-       @MOC@ $(srcdir)/ngqpoint.h >ngqpoint.moc
+       @MOC@ $(srcdir)/ngqpoint.h >ngqpoint.moc || touch ngqpoint.moc