Makefile.am 503 Bytes
Newer Older
Thomas Leonard's avatar
Thomas Leonard committed
1 2 3 4
## Process this file with automake to produce Makefile.in

AUTOMAKE_OPTIONS = foreign

5
packagesdir = $(mimedir)/packages
6
packages_DATA = freedesktop.org.xml
Thomas Leonard's avatar
Thomas Leonard committed
7

8 9 10
bin_PROGRAMS = update-mime-database
update_mime_database_SOURCES = update-mime-database.c

11
EXTRA_DIST = shared-mime-info-spec.xml freedesktop.org.xml README
12 13 14

CFLAGS = @CFLAGS@ `@PKG_CONFIG@ --cflags libxml-2.0 glib-2.0`
LDFLAGS = @LDFLAGS@ `@PKG_CONFIG@ --libs libxml-2.0 glib-2.0`
15 16 17

install-data-hook:
	${bindir}/update-mime-database ${mimedir}