2007-03-04 Johannes Schmid <jhs@gnome.org>
[anjuta-git-plugin.git] / Makefile.am
blob89321f492c84fd29dc5ad1ac2affa4f37779db2d
1 ## Process this file with automake to produce Makefile.in
3 @INTLTOOL_DESKTOP_RULE@
5 SUBDIRS = po tagmanager global-tags \
6         libegg pixmaps scripts data \
7         doc libanjuta plugins src manuals mime launcher
9 anjutadocdir = $(datadir)/doc/anjuta
10 anjutadoc_DATA = \
11         MAINTAINERS\
12         README\
13         COPYING\
14         AUTHORS\
15         ChangeLog\
16         INSTALL\
17         NEWS\
18         TODO\
19         FUTURE\
20         ROADMAP\
21         THANKS
23 ## anjuta_glade_filedir = $(anjuta_glade_dir)
24 ## anjuta_glade_file_DATA = anjuta.glade
26 EXTRA_DIST = \
27         anjuta.desktop.in.in \
28         anjuta.spec.in \
29         autogen.sh \
30         anjuta.prj \
31         setup-gettext \
32         intltool-extract.in\
33         intltool-merge.in\
34         intltool-update.in\
35         $(anjutadoc_DATA)
37 gnomemenudir = $(datadir)/applications
38 gnomemenu_premerge_file = anjuta.desktop.in
39 gnomemenu_DATA = $(gnomemenu_premerge_file:.desktop.in=.desktop)
41 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
43 # Copy all the spec files. Of course, only one is actually used.
44 dist-hook:
45         for specfile in *.spec; do \
46                 if test -f $$specfile; then \
47                         cp -p $$specfile $(distdir); \
48                 fi \
49         done
51 rpm: dist
52         rpmbuild -ta $(distdir).tar.gz
54 ## Install in RedHat's sytem menu, only if the system is RH.
55 ## install-data-local:
56 ##      -dfi=`which desktop-file-install` ; \
57 ##      if ( [ "x$$dfi" != "x" ] && [ -x $$dfi ] && [ -w $(datadir)/applications ] ) ; then \
58 ##              mkdir -p $(datadir)/applications ; \
59 ##              $$dfi --vendor anjuta --delete-original \
60 ##                --dir $(datadir)/applications \
61 ##                --add-category X-Red-Hat-Base --add-category Application \
62 ##                --add-category Development \
63 ##                $(prefix)/@NO_PREFIX_PACKAGE_MENU_DIR@/Development/anjuta.desktop ; \
64 ##      fi
67 CLEANFILES = \
68         $(gnomemenu_DATA)
70 DISTCLEANFILES = \
71         intltool-extract \
72         intltool-merge \
73         intltool-update \
74         $(gnomemenu_DATA)