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 \
|
|
|
|
gramps.applications \
|
|
|
|
gramps.desktop \
|
|
|
|
gramps.svg \
|
|
|
|
gramps.keys \
|
|
|
|
gramps.mime
|
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-07-15 08:24:04 +05:30
|
|
|
$(INSTALL_DATA) gramps.schemas $(DESTDIR)/etc/gconf/schemas
|
2004-07-14 10:09:05 +05:30
|
|
|
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
|
2004-07-15 09:55:46 +05:30
|
|
|
gconftool-2 --makefile-install-rule 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-05-27 09:59:43 +05:30
|
|
|
$(INSTALL) -d $(DESTDIR)$(prefix)/share/gnome/apps/Applications
|
2004-05-28 09:34:04 +05:30
|
|
|
$(INSTALL_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-06-22 08:35:28 +05:30
|
|
|
$(INSTALL_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
|
|
|
|
$(INSTALL_DATA) gramps.applications $(DESTDIR)$(prefix)/share/application-registry
|
2004-05-27 09:59:43 +05:30
|
|
|
$(INSTALL) -d $(DESTDIR)$(prefix)/share/mime/packages
|
|
|
|
$(INSTALL_DATA) gramps.xml $(DESTDIR)$(prefix)/share/mime/packages
|
2004-05-28 09:34:04 +05:30
|
|
|
$(INSTALL) -d $(DESTDIR)$(prefix)/share/mime-info
|
|
|
|
$(INSTALL_DATA) gramps.keys 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:
|
|
|
|
-rm $(DESTDIR)$(prefix)/share/gnome/apps/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-07-15 08:24:04 +05:30
|
|
|
-rm $(DESTDIR)/etc/gconf/schemas/gramps.schemas
|
2004-07-29 05:08:34 +05:30
|
|
|
update-mime-database $(DESTDIR)$(prefix)/share/mime
|
2004-07-15 08:24:04 +05:30
|
|
|
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
|
2004-07-15 09:55:46 +05:30
|
|
|
gconftool-2 --makefile-uninstall-rule gramps.schemas
|