vym.pro
author insilmaril
Mon, 16 Oct 2006 12:42:54 +0000
changeset 391 59106708b5b5
parent 389 bb94eec7c8f3
child 392 18f824bd3070
permissions -rw-r--r--
Code simplifications
     1 TEMPLATE	= app
     2 LANGUAGE	= C++
     3 
     4 CONFIG	+= qt warn_on release
     5 CONFIG += x86 ppc
     6 
     7 QT += qt3support
     8 
     9 HEADERS	+= \	
    10 	aboutdialog.h \
    11 	api.h \
    12 	branchobj.h \
    13 	editxlinkdialog.h \
    14 	exportoofiledialog.h \
    15 	exportxhtmldialog.h\
    16 	exports.h \
    17 	extrainfodialog.h \
    18 	file.h \
    19 	findwindow.h \
    20 	flagobj.h \
    21 	flagrowobj.h \
    22 	floatimageobj.h \
    23 	floatobj.h \
    24 	frameobj.h \
    25 	headingobj.h \
    26 	historywindow.h \
    27 	imageobj.h \
    28 	imports.h \
    29 	linkablemapobj.h \
    30 	xlinkobj.h \
    31 	mainwindow.h \
    32 	mapcenterobj.h \
    33 	mapeditor.h \
    34 	mapobj.h \
    35 	misc.h \
    36 	noteobj.h \
    37 	options.h \
    38 	ornamentedobj.h \
    39 	process.h \
    40 	showtextdialog.h\
    41 	selection.h \
    42 	texteditor.h \
    43 	version.h \
    44 	xml.h \
    45 	xsltproc.h \
    46 	settings.h \
    47 	warningdialog.h
    48 
    49 SOURCES	+= \
    50 	aboutdialog.cpp \
    51 	api.cpp \
    52 	branchobj.cpp \
    53 	editxlinkdialog.cpp \
    54 	exportoofiledialog.cpp \
    55 	exports.cpp \
    56 	exportxhtmldialog.cpp \
    57 	extrainfodialog.cpp \
    58 	file.cpp \
    59 	findwindow.cpp \
    60 	flagobj.cpp \
    61 	flagrowobj.cpp \
    62 	floatimageobj.cpp \
    63 	floatobj.cpp \
    64 	frameobj.cpp \
    65 	headingobj.cpp \
    66 	historywindow.cpp \
    67 	imageobj.cpp \
    68 	imports.cpp \
    69 	linkablemapobj.cpp \
    70 	xlinkobj.cpp \
    71 	main.cpp \
    72 	mainwindow.cpp \
    73 	mapcenterobj.cpp \
    74 	mapeditor.cpp \
    75 	mapobj.cpp \
    76 	misc.cpp \
    77 	noteobj.cpp \
    78 	options.cpp \
    79 	ornamentedobj.cpp \
    80 	process.cpp \
    81 	showtextdialog.cpp \
    82 	selection.cpp \
    83 	texteditor.cpp \
    84 	xml.cpp \
    85 	xsltproc.cpp \
    86 	settings.cpp \
    87 	warningdialog.cpp 
    88 
    89 FORMS = \
    90 	exportxhtmldialog.ui \
    91 	extrainfodialog.ui \
    92 	editxlinkdialog.ui \
    93 	historywindow.ui \
    94 	showtextdialog.ui \
    95 	warningdialog.ui
    96 
    97 #The following lines were inserted by qt3to4
    98 QT += xml  
    99 
   100 TARGET  = vym
   101 TRANSLATIONS += lang/vym_de.ts
   102 TRANSLATIONS += lang/vym_en.ts
   103 TRANSLATIONS += lang/vym_es.ts
   104 TRANSLATIONS += lang/vym_it.ts
   105 
   106 count( INSTALLDIR, 0 ) {
   107 	INSTALLDIR = /usr/local
   108 }
   109 
   110 message( "Installation directory" )
   111 message( $$INSTALLDIR )
   112 
   113 
   114 target.path = $${INSTALLDIR}/bin
   115 INSTALLS += target
   116 
   117 support.files = styles/ scripts/ icons/ flags/ lang/
   118 support.path = $${INSTALLDIR}/share/vym
   119 INSTALLS += support 
   120 
   121 doc.files = tex/vym.pdf 
   122 doc.path = $${INSTALLDIR}/share/doc/packages/vym
   123 INSTALLS += doc
   124 
   125 demo.files = demos/
   126 demo.path = $${INSTALLDIR}/share/doc/packages/vym
   127 INSTALLS += demo
   128 
   129 exports.files = exports/
   130 exports.path =$${INSTALLDIR}/share/vym
   131 INSTALLS += exports
   132 
   133