2002-10-20 19:55:16 +05:30
|
|
|
# This is the src/data level Makefile
|
|
|
|
SUBDIRS = templates
|
2003-05-21 06:00:02 +05:30
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@/data
|
2002-10-20 19:55:16 +05:30
|
|
|
|
2004-07-29 05:08:34 +05:30
|
|
|
dist_pkgdata_DATA = \
|
|
|
|
gedcom.xml \
|
|
|
|
papersize.xml \
|
|
|
|
tips.xml \
|
|
|
|
gnome-mime-application-x-gramps.png \
|
|
|
|
gnome-mime-application-x-gedcom.png \
|
|
|
|
gnome-mime-application-x-gramps-package.png \
|
2004-08-01 09:51:31 +05:30
|
|
|
gnome-mime-application-x-gramps-xml.png \
|
2004-07-29 05:08:34 +05:30
|
|
|
gramps.applications \
|
|
|
|
gramps.desktop \
|
|
|
|
gramps.svg \
|
|
|
|
gramps.keys \
|
2004-08-16 03:01:28 +05:30
|
|
|
gramps.mime \
|
2004-08-16 15:02:07 +05:30
|
|
|
gramps.xml \
|
2004-08-16 03:01:28 +05:30
|
|
|
gramps.schemas
|
2002-10-20 19:55:16 +05:30
|
|
|
|
2004-06-21 10:40:27 +05:30
|
|
|
EXTRA_DIST = $(dist_pkgdata_DATA)
|
2003-05-21 06:00:02 +05:30
|
|
|
|
2004-07-14 10:09:05 +05:30
|
|
|
install-schemas:
|
2004-08-16 15:02:07 +05:30
|
|
|
$(INSTALL) -d $(DESTDIR)$(sysconfdir)/gconf/schemas
|
2004-08-16 03:01:28 +05:30
|
|
|
$(INSTALL_DATA) $(top_srcdir)/src/data/gramps.schemas $(DESTDIR)$(sysconfdir)/gconf/schemas
|
2004-08-16 15:02:07 +05:30
|
|
|
-GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
|
2004-08-16 03:01:28 +05:30
|
|
|
gconftool-2 --makefile-install-rule $(top_srcdir)/src/data/gramps.schemas
|
2004-07-27 03:00:05 +05:30
|
|
|
pkill -HUP gconfd
|
2004-07-14 10:09:05 +05:30
|
|
|
|
|
|
|
install-data-local: install-schemas
|
2004-08-16 15:02:07 +05:30
|
|
|
$(INSTALL) -d $(DESTDIR)$(prefix)/share/applications
|
|
|
|
$(INSTALL_DATA) $(top_srcdir)/src/data/gramps.desktop $(DESTDIR)$(prefix)/share/applications
|
2004-05-27 09:59:43 +05:30
|
|
|
$(INSTALL) -d $(DESTDIR)$(prefix)/share/icons/gnome/48x48/mimetypes/
|
2004-08-16 15:02:07 +05:30
|
|
|
$(INSTALL_DATA) $(top_srcdir)/src/data/gnome-mime-application-x-*.png $(DESTDIR)$(prefix)/share/icons/gnome/48x48/mimetypes/
|
2004-05-28 09:34:04 +05:30
|
|
|
$(INSTALL) -d $(DESTDIR)$(prefix)/share/application-registry
|
2004-08-16 15:02:07 +05:30
|
|
|
$(INSTALL_DATA) $(top_srcdir)/src/data/gramps.applications $(DESTDIR)$(prefix)/share/application-registry
|
2004-05-27 09:59:43 +05:30
|
|
|
$(INSTALL) -d $(DESTDIR)$(prefix)/share/mime/packages
|
2004-08-16 15:02:07 +05:30
|
|
|
$(INSTALL_DATA) $(top_srcdir)/src/data/gramps.xml $(DESTDIR)$(prefix)/share/mime/packages
|
2004-05-28 09:34:04 +05:30
|
|
|
$(INSTALL) -d $(DESTDIR)$(prefix)/share/mime-info
|
2004-08-16 15:02:07 +05:30
|
|
|
$(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
|
2004-05-31 09:20:06 +05:30
|
|
|
update-mime-database $(DESTDIR)$(prefix)/share/mime
|
2004-05-27 09:59:43 +05:30
|
|
|
|
|
|
|
uninstall-local:
|
2004-08-16 15:02:07 +05:30
|
|
|
-rm $(DESTDIR)$(prefix)/share/applications/gramps.desktop
|
2004-07-29 05:08:34 +05:30
|
|
|
-rm $(DESTDIR)$(prefix)/share/icons/gnome/48x48/mimetypes/gnome-mime-application-x-*.png
|
2004-05-28 09:34:04 +05:30
|
|
|
-rm $(DESTDIR)$(prefix)/share/mime-info/gramps.keys
|
|
|
|
-rm $(DESTDIR)$(prefix)/share/mime-info/gramps.mime
|
2004-07-29 05:08:34 +05:30
|
|
|
-rm $(DESTDIR)$(prefix)/share/application-registry/gramps.applications
|
2004-05-28 09:34:04 +05:30
|
|
|
-rm $(DESTDIR)$(prefix)/share/mime/packages/gramps.xml
|
2004-08-16 03:01:28 +05:30
|
|
|
-rm $(DESTDIR)$(sysconfdir)/gconf/schemas/gramps.schemas
|
2004-07-29 05:08:34 +05:30
|
|
|
update-mime-database $(DESTDIR)$(prefix)/share/mime
|
2004-08-16 15:02:07 +05:30
|
|
|
-GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
|
2004-08-16 03:01:28 +05:30
|
|
|
gconftool-2 --makefile-uninstall-rule $(top_srcdir)/src/data/gramps.schemas
|