#ifdef'd xmlerror.h
[dia.git] / Makefile.am
blobea88da05043a8cba756a171ae5d5c772318a9847
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
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
27 mimedir = $(gnomedatadir)/mime-info
28 mime_DATA = dia.mime dia.keys
30 po/dia.pot: 
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 \
46         RELEASE-PROCESS