2002-12-30 Sven Neumann <sven@gimp.org> * app/core/gimpimagefile.c (gimp_imagefile_png_thumb_path): use proper defines to specify the permissions when calling mkdir(). * app/file/file-utils.c: removed redeclaration of mkdir() for Win32 since we don't call mkdir() here. * app/gui/user-install-dialog.c (user_install_run): rewrote copy_file() to use GError for error reporting. Use the same code for the user installation on all platforms. Also fixes bug #102015. * data/misc/Makefile.am * data/misc/user_install * data/misc/user_install.bat: removed obsoleted scripts.
36 lines
963 B
Makefile
36 lines
963 B
Makefile
## Makefile.am for gimp/data/misc
|
|
|
|
miscdatadir = $(gimpdatadir)/misc
|
|
|
|
miscdata_in_files = gimp.desktop.in.in
|
|
|
|
miscdata_DATA = $(miscdata_in_files:.desktop.in.in=.desktop)
|
|
|
|
EXTRA_DIST = gimp.desktop.in.in
|
|
|
|
gen_sources = desktop-foo
|
|
CLEANFILES = $(gen_sources)
|
|
|
|
DISTCLEANFILES = gimp.desktop
|
|
|
|
gimp.desktop: gimp.desktop.in $(wildcard $(top_srcdir)/po/*.po)
|
|
sed -e 's|.[{]prefix[}]|${prefix}|' gimp.desktop.in > 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 $(DESTDIR)@GNOME_DESKTOP_PATH@; then \
|
|
cd $(DESTDIR)@GNOME_DESKTOP_PATH@ \
|
|
&& rm -f gimp-1.3.desktop \
|
|
&& $(LN_S) $(miscdatadir)/gimp.desktop gimp-1.3.desktop \
|
|
; fi
|
|
endif
|
|
|
|
uninstall-local:
|
|
if GNOME_DESKTOP_PATH
|
|
if test -d $(DESTDIR)@GNOME_DESKTOP_PATH@; then \
|
|
cd $(DESTDIR)@GNOME_DESKTOP_PATH@ \
|
|
&& rm -f gimp-1.3.desktop \
|
|
; fi
|
|
endif
|