fixed dia_image_rgb_data() for non-alpha images
[dia.git] / Makefile.am
blob42fdf02ad694289730cac63f19a33ea316233e79
1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = lib objects plug-ins shapes app samples po sheets doc
5 gnomedatadir = $(datadir)
7 pkgdata_DATA = dia_logo.png
8 man_MANS = dia.1
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
24 distclean-local:
25         rm -f dia.keys
26         rm -f intltool-extract
27         rm -f intltool-merge
28         rm -f intltool-update
29         rm -f THANKS
31 mimedir = $(gnomedatadir)/mime-info
32 mime_DATA = dia.mime dia.keys
34 po/dia.pot: 
35         (cd po ; $(MAKE) dia.pot)
37 po/Makefile: po/Makefile.in
38         (cd po ; make -f Makefile.in Makefile ; make) # gettext hack
40 core-translation-report: po/dia.pot po-checktrans.py po-checktrans
41         -(cd $(srcdir) && ./po-checktrans po/dia.pot po/*.po)
43 all-local: core-translation-report po/Makefile
45 EXTRA_DIST = dia.xpm dia_gnome_icon.png dia_gnome_menu_icon.png \
46         dia.desktop.in dia.spec KNOWN_BUGS $(pkgdata_DATA) $(man_MANS) \
47         dia-diagram.png dia.mime dia.keys.in \
48         core-translation-report po-checktrans.py po-checktrans \
49         intltool-extract.in intltool-merge.in intltool-update.in \
50         RELEASE-PROCESS autogen.sh makefile.msc \
51         config.h.win32 readme.win32 AUTHORS THANKS
53 THANKS: all-recursive
54         app/run_dia.sh --credits > THANKS