linewidth is now working for PS_SOLID
[dia.git] / Makefile.am
blobc3b7da89992ce06e82bb0b7c994e5c06fad21fa9
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 # That advice didn't work, turning check off till scrollkeeper is fixed
46 # or we get a better check here.
47 distuninstallcheck_listfiles = \
48   find . -type f -a ! -path \*scrollkeeper\*
50 #distuninstallcheck:
51 #       @:
53 EXTRA_DIST = dia.xpm dia_gnome_icon.png dia_gnome_menu_icon.png \
54         dia.desktop.in dia.spec KNOWN_BUGS $(pkgdata_DATA) \
55         dia-diagram.png dia.mime dia.keys.in \
56         po-checktrans.py po-checktrans \
57         intltool-extract.in intltool-merge.in intltool-update.in \
58         RELEASE-PROCESS autogen.sh makefile.msc \
59         config.h.win32 readme.win32 AUTHORS THANKS
61 if MAINTAINER_MODE
62 THANKS: all-recursive
63         app/run_dia.sh --credits > THANKS
64 endif