blob: 53a8755e93e748403667b0cd8fcf915e2bef8e6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
## Process this file with automake to produce Makefile.in
SUBDIRS=po
AUTOMAKE_OPTIONS = foreign
packagesdir = $(mimedir)/packages
packages_DATA = freedesktop.org.xml
bin_PROGRAMS = update-mime-database
update_mime_database_SOURCES = update-mime-database.c
man_MANS = update-mime-database.1
EXTRA_DIST = \
shared-mime-info-spec.xml \
freedesktop.org.xml.in \
$(packages_DATA) \
README \
$(man_MANS) \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
shared-mime-info.pc.in
CLEANFILES = freedesktop.org.xml
DISTCLEANFILES = intltool-extract intltool-merge intltool-update
CFLAGS = $(ALL_CFLAGS)
LDFLAGS = $(ALL_LIBS)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = shared-mime-info.pc
$(pkgconfig_DATA): config.status
@INTLTOOL_XML_RULE@
@INTLTOOL_DESKTOP_RULE@
install-data-hook:
if ENABLE_UPDATE_MIMEDB
$(DESTDIR)"$(bindir)/update-mime-database" "$(DESTDIR)${mimedir}"
endif
uninstall-hook:
for media in text application image audio inode video message model multipart; do rm -f "$(DESTDIR)${mimedir}/$${media}/"*.xml; done
rm -f "$(DESTDIR)${mimedir}/globs"
rm -f "$(DESTDIR)${mimedir}/magic"
rm -f "$(DESTDIR)${mimedir}/XMLnamespaces"
check:
xmllint --noout --valid $(srcdir)/freedesktop.org.xml
|