diff -r b8c547f0fc58 -r 58e7594239df vym.pro --- a/vym.pro Thu Jul 27 14:07:11 2006 +0000 +++ b/vym.pro Tue Aug 01 09:31:22 2006 +0000 @@ -2,7 +2,6 @@ LANGUAGE = C++ CONFIG += qt warn_on release -QT += qt3support HEADERS += aboutdialog.h \ api.h \ @@ -70,8 +69,7 @@ settings.cpp \ options.cpp -#The following line was changed from FORMS to FORMS3 by qt3to4 -FORMS3 = exportxhtmldialog.ui \ +FORMS = exportxhtmldialog.ui \ showtextdialog.ui \ extrainfodialog.ui \ editxlinkdialog.ui \ @@ -83,27 +81,35 @@ TRANSLATIONS += lang/vym_es.ts TRANSLATIONS += lang/vym_it.ts +count( INSTALLDIR, 0 ) { + INSTALLDIR = /usr/local/bin +} +message( "Installation directory" ) +message( $$INSTALLDIR ) -DESTROOT = /usr -target.path = $${DESTROOT}/bin +target.path = $$INSTALLDIR INSTALLS += target -support.files = exports/ styles/ scripts/ icons/ flags/ lang/ -support.path = $${DESTROOT}/share/vym + +target.path = $${INSTALLDIR}/bin +INSTALLS += target + +support.files = styles/ scripts/ icons/ flags/ lang/ +support.path = $${INSTALLDIR}/share/vym INSTALLS += support doc.files = tex/vym.pdf -doc.path = $${DESTROOT}/share/doc/packages/vym +doc.path = $${INSTALLDIR}/share/doc/packages/vym INSTALLS += doc demo.files = demos/ -demo.path = $${DESTROOT}/share/doc/packages/vym +demo.path = $${INSTALLDIR}/share/doc/packages/vym INSTALLS += demo -#The following line was inserted by qt3to4 -QT += xml -#The following line was inserted by qt3to4 -CONFIG += uic3 +exports.files = exports/ +exports.path =$${INSTALLDIR}/share/vym +INSTALLS += exports +