Mercurial > mxe-octave
diff src/qt.mk @ 660:f77810598227
test program for package qt
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 23 Jan 2010 00:07:21 +0100 |
parents | c96eeb56f5de |
children | 29f1ba4559ae |
line wrap: on
line diff
--- a/src/qt.mk Sat Jan 23 00:05:23 2010 +0100 +++ b/src/qt.mk Sat Jan 23 00:07:21 2010 +0100 @@ -135,4 +135,10 @@ '$(TARGET)-ranlib' '$(1)'/lib/*.a rm -rf '$(PREFIX)/$(TARGET)/mkspecs' $(MAKE) -C '$(1)' -j 1 install + + mkdir '$(1)/test-qt' + cp '$(2)'* '$(1)/test-qt/' + cd '$(1)/test-qt' && '$(TARGET)-qmake' + $(MAKE) -C '$(1)/test-qt' -j '$(JOBS)' + $(INSTALL) -m755 '$(1)/test-qt/release/test-qt.exe' '$(PREFIX)/$(TARGET)/bin/' endef