SUBDIRS=ext library tools/genobj generated backend modules frontend plugins res images


tests:
	DEST_DIR=$(prefix) TEST_MODULES_DIR=$(prefix)/lib/mysql-workbench/modules  make -C testing/tut test

appfiledatadir= $(datadir)/applications
appfiledata_DATA=MySQLWorkbench.desktop

mimedatadir=$(datadir)/mime/packages
mimedata_DATA=mysql-workbench.xml

mimeinfodatadir=$(datadir)/mime-info
mimeinfodata_DATA=mysql-workbench.mime

DISTCLEANFILES=MySQLWorkbench.desktop mysql-workbench.xml

if BUILD_SE
doc_DATA=README LICENSE.mysql
else
doc_DATA=README COPYING 
endif

MySQLWorkbench.desktop: MySQLWorkbench.desktop.in
	sed -e s:#pkgdatadir#:$(pkgdatadir):g -e s:#bindir#:$(bindir):g $@.in > $@


mysql-workbench.xml:
	cp build/debian/mysql-workbench-gpl.sharedmimeinfo $@
