Gimp/data/misc/Makefile.am
Sven Neumann 9bc726a045 HACKING Makefile.am autogen.sh depend on intltool for handling i18n stuff.
2002-02-22  Sven Neumann  <sven@gimp.org>

	* HACKING
	* Makefile.am
	* autogen.sh
	* configure.in: depend on intltool for handling i18n stuff. This
	means that you need intltool to compile The GIMP from CVS. Grab
	it from ftp://ftp.gnome.org/pub/GNOME/stable/sources/intltool/
	or out of gnomecvs module intltool. You shouldn't need it if you
	compile The GIMP from tarball.

	* data/misc/Makefile.am
	* data/misc/gimp.desktop.in.in: merge translations into the desktop
	file.
2002-02-22 17:35:07 +00:00

38 lines
940 B
Makefile

## Makefile.am for gimp/data/misc
miscdatadir = $(gimpdatadir)/misc
miscdata_SCRIPTS = \
user_install
miscdata_in_files = gimp.desktop.in.in
miscdata_DATA = $(miscdata_in_files:.desktop.in.in=.desktop)
EXTRA_DIST = \
$(miscdata_SCRIPTS) \
gimp.desktop.in.in \
user_install.bat
gen_sources = desktop-foo
CLEANFILES = $(gen_sources)
gimp.desktop: gimp.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po)
sed -e 's|.[{]prefix[}]|${prefix}|' $< > desktop-foo \
&& $(INTLTOOL_MERGE) $(top_srcdir)/po desktop-foo $(@) -d -u -c $(top_builddir)/po/.intltool-merge-cachemake \
&& rm -r desktop-foo
install-data-local:
if GNOME_DESKTOP_PATH
if test -d @GNOME_DESKTOP_PATH@; then \
cd @GNOME_DESKTOP_PATH@ \
&& rm -f gimp-1.3.desktop \
&& $(LN_S) $(DESTDIR)$(miscdatadir)/gimp.desktop gimp-1.3.desktop \
; fi
endif
uninstall-local:
if GNOME_DESKTOP_PATH
cd @GNOME_DESKTOP_PATH@ \
rm -f $(GNOME_DESKTOP_FILE)
endif