From c1a1ecfd7d4cd554e5fcaae243e0e4769e022b16 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Mon, 16 Aug 2004 09:32:07 +0000 Subject: [PATCH] 2004-08-16 Tim Waugh * src/data/Makefile.am: Fix 'distcheck' as much as possible. svn: r3402 --- ChangeLog | 3 +++ src/data/Makefile.am | 22 ++++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index dda550401..6fd998a46 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2004-08-16 Tim Waugh + * src/data/Makefile.am: Fix 'distcheck' as much as possible. + 2004-08-15 Tim Waugh * src/data/Makefile.am: Make 'distcheck' get further. * src/Makefile.am: Removed src/Find.py. diff --git a/src/data/Makefile.am b/src/data/Makefile.am index fcfb320a8..deff9a300 100644 --- a/src/data/Makefile.am +++ b/src/data/Makefile.am @@ -15,32 +15,34 @@ dist_pkgdata_DATA = \ gramps.svg \ gramps.keys \ gramps.mime \ + gramps.xml \ gramps.schemas EXTRA_DIST = $(dist_pkgdata_DATA) install-schemas: - $(mkdir_p) $(DESTDIR)$(sysconfdir)/gconf/schemas + $(INSTALL) -d $(DESTDIR)$(sysconfdir)/gconf/schemas $(INSTALL_DATA) $(top_srcdir)/src/data/gramps.schemas $(DESTDIR)$(sysconfdir)/gconf/schemas - GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ + -GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ gconftool-2 --makefile-install-rule $(top_srcdir)/src/data/gramps.schemas pkill -HUP gconfd install-data-local: install-schemas - $(INSTALL) -d $(DESTDIR)$(prefix)/share/gnome/apps/Applications - $(INSTALL_DATA) gramps.desktop $(DESTDIR)$(prefix)/share/applications + $(INSTALL) -d $(DESTDIR)$(prefix)/share/applications + $(INSTALL_DATA) $(top_srcdir)/src/data/gramps.desktop $(DESTDIR)$(prefix)/share/applications $(INSTALL) -d $(DESTDIR)$(prefix)/share/icons/gnome/48x48/mimetypes/ - $(INSTALL_DATA) gnome-mime-application-x-*.png $(DESTDIR)$(prefix)/share/icons/gnome/48x48/mimetypes/ + $(INSTALL_DATA) $(top_srcdir)/src/data/gnome-mime-application-x-*.png $(DESTDIR)$(prefix)/share/icons/gnome/48x48/mimetypes/ $(INSTALL) -d $(DESTDIR)$(prefix)/share/application-registry - $(INSTALL_DATA) gramps.applications $(DESTDIR)$(prefix)/share/application-registry + $(INSTALL_DATA) $(top_srcdir)/src/data/gramps.applications $(DESTDIR)$(prefix)/share/application-registry $(INSTALL) -d $(DESTDIR)$(prefix)/share/mime/packages - $(INSTALL_DATA) gramps.xml $(DESTDIR)$(prefix)/share/mime/packages + $(INSTALL_DATA) $(top_srcdir)/src/data/gramps.xml $(DESTDIR)$(prefix)/share/mime/packages $(INSTALL) -d $(DESTDIR)$(prefix)/share/mime-info - $(INSTALL_DATA) gramps.keys gramps.mime $(DESTDIR)$(prefix)/share/mime-info + $(INSTALL_DATA) $(top_srcdir)/src/data/gramps.keys $(DESTDIR)$(prefix)/share/mime-info + $(INSTALL_DATA) $(top_srcdir)/src/data/gramps.mime $(DESTDIR)$(prefix)/share/mime-info update-mime-database $(DESTDIR)$(prefix)/share/mime uninstall-local: - -rm $(DESTDIR)$(prefix)/share/gnome/apps/Applications/gramps.desktop + -rm $(DESTDIR)$(prefix)/share/applications/gramps.desktop -rm $(DESTDIR)$(prefix)/share/icons/gnome/48x48/mimetypes/gnome-mime-application-x-*.png -rm $(DESTDIR)$(prefix)/share/mime-info/gramps.keys -rm $(DESTDIR)$(prefix)/share/mime-info/gramps.mime @@ -48,5 +50,5 @@ uninstall-local: -rm $(DESTDIR)$(prefix)/share/mime/packages/gramps.xml -rm $(DESTDIR)$(sysconfdir)/gconf/schemas/gramps.schemas update-mime-database $(DESTDIR)$(prefix)/share/mime - GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ + -GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ gconftool-2 --makefile-uninstall-rule $(top_srcdir)/src/data/gramps.schemas