summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorThomas Leonard <tal@ecs.soton.ac.uk>2002-07-24 15:56:57 +0000
committerThomas Leonard <tal@ecs.soton.ac.uk>2002-07-24 15:56:57 +0000
commita3dbbc8a198935d71889624c7373db34dea8e959 (patch)
tree5c3349d9052848c432963ca398e9a5b29d8d8a8a /Makefile.am
parentcec806d16cb4efe65b0f5397e2373ba7eeb12760 (diff)
downloadshared-mime-info-a3dbbc8a198935d71889624c7373db34dea8e959.tar.gz
Warn about invalid media types.
Delete old files. Banner message. Override install location.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 477706b4..2bde5fd2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,13 +2,16 @@
AUTOMAKE_OPTIONS = foreign
-packagesdir = $(datadir)/mime/packages
+packagesdir = $(mimedir)/packages
packages_DATA = freedesktop.org.xml
bin_PROGRAMS = update-mime-database
update_mime_database_SOURCES = update-mime-database.c
-EXTRA_DIST = shared-mime-info-spec.xml freedesktop-shared.mimeinfo
+EXTRA_DIST = shared-mime-info-spec.xml freedesktop.org.xml README
CFLAGS = @CFLAGS@ `@PKG_CONFIG@ --cflags libxml-2.0 glib-2.0`
LDFLAGS = @LDFLAGS@ `@PKG_CONFIG@ --libs libxml-2.0 glib-2.0`
+
+install-data-hook:
+ ${bindir}/update-mime-database ${mimedir}