58ddbe48dd
PR: 210790 Submitted by: tkato432 yahoo com Sponsored by: Absolight
29 lines
927 B
Text
29 lines
927 B
Text
--- tools/Makefile.am.orig 2016-05-14 01:04:00 UTC
|
|
+++ tools/Makefile.am
|
|
@@ -56,11 +56,11 @@ if BUILD_GTHUMB
|
|
## Does not work:
|
|
#thumbnailerdir=$(datadir)/thumbnailers
|
|
## Needs to be in /usr/share/thumbnailers
|
|
-thumbnailerdir=/usr/share/thumbnailers
|
|
+thumbnailerdir=$(datadir)/thumbnailers
|
|
thumbnailer_in_files=gnome_u7shapes.thumbnailer.in
|
|
thumbnailer_DATA=$(thumbnailer_in_files:.thumbnailer.in=.thumbnailer)
|
|
gnome_shp_thumbnailer_DATA=x-shapefile.xml
|
|
-gnome_shp_thumbnailerdir=$(DESTDIR)$(datadir)/mime/packages
|
|
+gnome_shp_thumbnailerdir=$(datadir)/mime/packages
|
|
|
|
# Rule to make the service file with bindir expanded
|
|
$(thumbnailer_DATA): $(thumbnailer_in_files)
|
|
@@ -99,10 +99,10 @@ cmanip_LDADD = \
|
|
|
|
if BUILD_GTHUMB
|
|
install-data-hook:
|
|
- update-mime-database $(DESTDIR)$(datadir)/mime || :
|
|
+ :
|
|
|
|
uninstall-hook:
|
|
- update-mime-database $(DESTDIR)$(datadir)/mime || :
|
|
+ :
|
|
else
|
|
install-data-hook:
|
|
uninstall-hook:
|