pre3 updates
[dia.git] / Makefile.am
blob67f02204e90e5e3131c770428af152f26f2ed1b5
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
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
23 distclean-local:
24         rm -f dia.keys
25         rm -f intltool-extract
26         rm -f intltool-merge
27         rm -f intltool-update
29 mimedir = $(gnomedatadir)/mime-info
30 mime_DATA = dia.mime dia.keys
32 po/dia.pot: 
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 po-checktrans.py po-checktrans
39         -(cd $(srcdir) && ./po-checktrans po/dia.pot po/*.po)
41 all-local: core-translation-report po/Makefile
43 # on uninstall scrollkeeper will leave behind an empty database
44 # See http://mail.gnome.org/archives/desktop-devel-list/2003-July/msg00144.html
45 # Requires automake-1.7, so 'export WANT_AUTOMAKE=1.7' before './autogen.sh'
46 distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper'
48 #distuninstallcheck:
49 #       @:
51 EXTRA_DIST = dia.xpm dia_gnome_icon.png dia_gnome_menu_icon.png \
52         dia.desktop.in dia.spec KNOWN_BUGS $(pkgdata_DATA) \
53         dia-diagram.png dia.mime dia.keys.in \
54         po-checktrans.py po-checktrans \
55         intltool-extract.in intltool-merge.in intltool-update.in \
56         RELEASE-PROCESS autogen.sh makefile.msc \
57         config.h.win32 readme.win32 AUTHORS MAINTAINERS THANKS
59 if MAINTAINER_MODE
60 THANKS: all-recursive
61         app/run_dia.sh --credits > THANKS
62 endif