vym.pro
author insilmaril
Tue, 04 Dec 2007 12:32:56 +0000
changeset 626 96c8e6860e0c
parent 625 22955004d512
child 628 d7d0708b1c60
permissions -rw-r--r--
Fixed HideExport bug, changed pre- and postscript in XHTML export dialog
     1 TEMPLATE	= app
     2 LANGUAGE	= C++
     3 
     4 CONFIG	+= qt warn_on release debug
     5 CONFIG += x86 ppc
     6 
     7 # Manifest embedding was suggested by Qt docs somewhere...
     8 win32: CONFIG += embed_manifest_exe
     9 
    10 # Without this, M_PI, and M_PI_2 won`t be defined.
    11 win32:DEFINES *= _USE_MATH_DEFINES
    12 
    13 ICON =icons/vym.icns
    14 
    15 QT += qt3support
    16 QT += network
    17 
    18 HEADERS	+= \
    19 	aboutdialog.h \
    20 	animpoint.h \
    21 	attribute.h \
    22 	attributewidget.h \
    23 	attributedialog.h \
    24 	branchobj.h \
    25 	branchpropwindow.h\
    26 	editxlinkdialog.h \
    27 	exportoofiledialog.h \
    28 	exportxhtmldialog.h\
    29 	exports.h \
    30 	extrainfodialog.h \
    31 	file.h \
    32 	findwindow.h \
    33 	flagobj.h \
    34 	flagrowobj.h \
    35 	floatimageobj.h \
    36 	floatobj.h \
    37 	frameobj.h \
    38 	headingobj.h \
    39 	highlighter.h \
    40 	historywindow.h \
    41 	imageobj.h \
    42 	imports.h \
    43 	linkablemapobj.h \
    44 	mainwindow.h \
    45 	mapcenterobj.h \
    46 	mapeditor.h \
    47 	mapobj.h \
    48 	misc.h \
    49 	noteobj.h \
    50 	options.h \
    51 	ornamentedobj.h \
    52 	parser.h \
    53 	process.h \
    54 	selection.h \
    55 	showtextdialog.h\
    56 	simplescripteditor.h\
    57 	texteditor.h \
    58 	version.h \
    59 	xlinkobj.h \
    60 	xml-base.h \
    61 	xml-vym.h \
    62 	xml-freemind.h \
    63 	xmlobj.h\
    64 	xsltproc.h \
    65 	settings.h \
    66 	warningdialog.h
    67 
    68 SOURCES	+= \
    69 	aboutdialog.cpp \
    70 	animpoint.cpp \
    71 	attribute.cpp \
    72 	attributewidget.cpp \
    73 	attributedialog.cpp \
    74 	branchobj.cpp \
    75 	branchpropwindow.cpp \
    76 	editxlinkdialog.cpp \
    77 	exportoofiledialog.cpp \
    78 	exports.cpp \
    79 	exportxhtmldialog.cpp \
    80 	extrainfodialog.cpp \
    81 	file.cpp \
    82 	findwindow.cpp \
    83 	flagobj.cpp \
    84 	flagrowobj.cpp \
    85 	floatimageobj.cpp \
    86 	floatobj.cpp \
    87 	frameobj.cpp \
    88 	headingobj.cpp \
    89 	highlighter.cpp \
    90 	historywindow.cpp \
    91 	imageobj.cpp \
    92 	imports.cpp \
    93 	linkablemapobj.cpp \
    94 	main.cpp \
    95 	mainwindow.cpp \
    96 	mapcenterobj.cpp \
    97 	mapeditor.cpp \
    98 	mapobj.cpp \
    99 	misc.cpp \
   100 	noteobj.cpp \
   101 	options.cpp \
   102 	ornamentedobj.cpp \
   103 	parser.cpp \
   104 	process.cpp \
   105 	selection.cpp \
   106 	showtextdialog.cpp \
   107 	simplescripteditor.cpp \
   108 	texteditor.cpp \
   109 	version.cpp \
   110 	xlinkobj.cpp \
   111 	xml-base.cpp \
   112 	xml-vym.cpp \
   113 	xml-freemind.cpp \
   114 	xmlobj.cpp \
   115 	xsltproc.cpp \
   116 	settings.cpp \
   117 	warningdialog.cpp
   118 
   119 FORMS = \
   120 	attributewidget.ui \
   121 	attributedialog.ui \
   122 	branchpropwindow.ui \
   123 	exportxhtmldialog.ui \
   124 	extrainfodialog.ui \
   125 	editxlinkdialog.ui \
   126 	historywindow.ui \
   127 	simplescripteditor.ui \
   128 	showtextdialog.ui \
   129 	warningdialog.ui
   130 
   131 win32 {
   132 	HEADERS += mkdtemp.h
   133 	SOURCES += mkdtemp.cpp
   134 	RC_FILE = vym.rc
   135 }
   136 
   137 #The following lines were inserted by qt3to4
   138 QT += xml
   139 
   140 TARGET  = vym
   141 
   142 TRANSLATIONS += lang/vym_de.ts
   143 TRANSLATIONS += lang/vym_en.ts
   144 TRANSLATIONS += lang/vym_es.ts
   145 TRANSLATIONS += lang/vym_it.ts
   146 
   147 isEmpty( PREFIX ) {
   148 	PREFIX = /usr/local
   149 	count( INSTALLDIR, 1 ) {
   150 		PREFIX = $${INSTALLDIR}
   151 		message( "Please use PREFIX instead of INSTALLDIR" )
   152 	}
   153 }
   154 isEmpty( BINDIR ) {
   155 	BINDIR = $${PREFIX}/bin
   156 }
   157 isEmpty( DATADIR ) {
   158 	DATADIR = $${PREFIX}/share
   159 }
   160 isEmpty( DOCDIR ) {
   161 	DOCDIR = $${DATADIR}/doc/packages/vym
   162 }
   163 isEmpty( DEMODIR ) {
   164 	DEMODIR = $${DOCDIR}
   165 }
   166 
   167 message( "Installation directory" )
   168 message( $$PREFIX )
   169 
   170 
   171 target.path = $${BINDIR}
   172 INSTALLS += target
   173 
   174 support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/
   175 support.path = $${DATADIR}/vym
   176 INSTALLS += support 
   177 
   178 doc.files = doc/vym.pdf
   179 doc.path = $${DOCDIR}
   180 INSTALLS += doc
   181 DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
   182 
   183 demo.files = demos/
   184 demo.path = $${DEMODIR}
   185 INSTALLS += demo