1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = lib objects plug-ins shapes app samples po sheets data doc tests
5 gnomedatadir = $(datadir)
7 pkgdata_DATA = dia_logo.png
9 pixmapdir = $(gnomedatadir)/pixmaps
10 pixmap_DATA = dia_gnome_icon.png dia-diagram.png
12 Applicationsdir = $(gnomedatadir)/applications
13 applications_in_files = dia.desktop.in
14 Applications_DATA = $(applications_in_files:.desktop.in=.desktop)
15 @INTLTOOL_DESKTOP_RULE@
17 dia.keys: $(srcdir)/dia.keys.in Makefile
18 sed -e 's^\@icondir\@^$(pixmapdir)^g' $(srcdir)/dia.keys.in > dia.keys.tmp \
19 && mv dia.keys.tmp dia.keys
21 CLEANFILES = core-translation-report dia.keys dia.desktop
25 rm -f intltool-extract
29 mimedir = $(gnomedatadir)/mime-info
30 mime_DATA = dia.mime dia.keys
33 (cd po ; $(MAKE) dia.pot)
35 po/Makefile: po/Makefile.in
36 (cd po ; make -f Makefile.in Makefile ; make) # gettext hack
38 core-translation-report: po/dia.pot $(srcdir)/po-checktrans.py $(srcdir)/po-checktrans
39 if [ "$(srcdir)" != "." ]; then \
40 cp $(srcdir)/po-checktrans .; \
41 cp $(srcdir)/po-checktrans.py .; \
43 ./po-checktrans po/dia.pot $(srcdir)/po/*.po
45 all-local: core-translation-report po/Makefile
49 cd tests && $(MAKE) tests
51 # on uninstall scrollkeeper will leave behind an empty database
52 # See http://mail.gnome.org/archives/desktop-devel-list/2003-July/msg00144.html
53 # Requires automake-1.7, so 'export WANT_AUTOMAKE=1.7' before './autogen.sh'
54 distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper'
59 EXTRA_DIST = dia.xpm dia_gnome_icon.png dia_gnome_menu_icon.png \
60 dia.desktop.in KNOWN_BUGS $(pkgdata_DATA) \
61 dia-diagram.png dia.mime dia.keys.in \
62 po-checktrans.py po-checktrans \
63 intltool-extract.in intltool-merge.in intltool-update.in \
64 RELEASE-PROCESS autogen.sh makefile.msc \
65 config.h.win32 readme.win32 AUTHORS MAINTAINERS THANKS
69 app/run_dia.sh --credits > THANKS