diff options
author | Dan Winship <dwinship@redhat.com> | 2007-08-13 21:57:05 (GMT) |
---|---|---|
committer | Dan Winship <dwinship@redhat.com> | 2007-08-13 21:57:05 (GMT) |
commit | 56eb7c2dc3989942980879d86bda6755378ced27 (patch) | |
tree | ffdf0889f7a05e5aa8503f86e12bd65af350b7f2 /data | |
parent | 6debe0c34d2973d8af002fbe4fe195d6d84c2eec (diff) |
Borrow some autofoo goo from nautilus to make the mimedb stuff distcheck
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 4c613ab..2ab4560 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -23,14 +23,18 @@ mimedir = $(datadir)/mime/packages mime_DATA = $(mime_xml_files) install-data-hook: +if ENABLE_UPDATE_MIMEDB if [ -z "$$DESTDIR" ]; then \ update-mime-database "$(datadir)/mime"; \ fi +endif uninstall-hook: +if ENABLE_UPDATE_MIMEDB if [ -z "$$DESTDIR" ]; then \ update-mime-database "$(datadir)/mime"; \ fi +endif EXTRA_DIST = $(sugar_DATA) $(mime_xml_in_files) em.py gtkrc.em -CLEANFILES = $(GTKRC_FILES) +CLEANFILES = $(GTKRC_FILES) $(mime_xml_files) |