1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = lib objects plug-ins shapes intl app samples po sheets doc
5 gnomedatadir = $(datadir)
7 pkgdata_DATA = dia_logo.png
10 pixmapdir = $(gnomedatadir)/pixmaps
11 pixmap_DATA = dia_gnome_icon.png dia-diagram.png
13 Applicationsdir = $(gnomedatadir)/gnome/apps/Applications
14 applications_in_files = dia.desktop.in
15 Applications_DATA = $(applications_in_files:.desktop.in=.desktop)
16 @INTLTOOL_DESKTOP_RULE@
18 dia.keys: $(srcdir)/dia.keys.in Makefile
19 sed -e 's^\@icondir\@^$(pixmapdir)^g' $(srcdir)/dia.keys.in > dia.keys.tmp \
20 && mv dia.keys.tmp dia.keys
22 CLEANFILES = core-translation-report dia.keys dia.desktop
27 mimedir = $(gnomedatadir)/mime-info
28 mime_DATA = dia.mime dia.keys
31 (cd po ; $(MAKE) dia.pot)
33 po/Makefile: po/Makefile.in
34 (cd po ; make -f Makefile.in Makefile ; make) # gettext hack
36 core-translation-report: po/dia.pot po-checktrans.py po-checktrans
37 -(cd $(srcdir) && ./po-checktrans po/dia.pot po/*.po)
39 all-local: core-translation-report po/Makefile
41 EXTRA_DIST = dia.xpm dia_gnome_icon.png dia_gnome_menu_icon.png \
42 dia.desktop.in dia.spec KNOWN_BUGS $(pkgdata_DATA) $(man_MANS) \
43 dia-diagram.png dia.mime dia.keys.in \
44 core-translation-report po-checktrans.py po-checktrans \
45 intltool-extract.in intltool-merge.in intltool-update.in \