Commit 1074aad7 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

2007-02-02 Bastien Nocera <hadess@hadess.net>

	* Makefile.am:
	* configure.in: Patch from Christian Persch to clean up the
	configure.in and Makefile.am files (Closes: #9618)
parent c4a71621
2007-02-02 Bastien Nocera <hadess@hadess.net>
* Makefile.am:
* configure.in: Patch from Christian Persch to clean up the
configure.in and Makefile.am files (Closes: #9618)
2007-02-02 Bastien Nocera <hadess@hadess.net>
* freedesktop.org.xml.in: Add application/x-bzip2 as an alias
......
## Process this file with automake to produce Makefile.in
SUBDIRS=po
INCLUDES = $(ALL_CFLAGS)
AUTOMAKE_OPTIONS = foreign
packagesdir = $(mimedir)/packages
packagesdir = $(datadir)/mime/packages
packages_DATA = freedesktop.org.xml
bin_PROGRAMS = update-mime-database
......@@ -45,16 +41,16 @@ $(pkgconfig_DATA): config.status
install-data-hook:
if ENABLE_UPDATE_MIMEDB
$(DESTDIR)"$(bindir)/update-mime-database" "$(DESTDIR)${mimedir}"
$(DESTDIR)"$(bindir)/update-mime-database" "$(DESTDIR)$(datadir)/mime"
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}/aliases"
rm -f "$(DESTDIR)${mimedir}/subclasses"
rm -f "$(DESTDIR)${mimedir}/XMLnamespaces"
for media in text application image audio inode video message model multipart; do rm -f "$(DESTDIR)$(datadir)/mime/$${media}/"*.xml; done
rm -f "$(DESTDIR)$(datadir)/mime/globs"
rm -f "$(DESTDIR)$(datadir)/mime/magic"
rm -f "$(DESTDIR)$(datadir)/mime/aliases"
rm -f "$(DESTDIR)$(datadir)/mime/subclasses"
rm -f "$(DESTDIR)$(datadir)/mime/XMLnamespaces"
all: check
......
dnl Process this file with autoconf to produce a configure script.
AC_INIT([shared-mime-info],[0.19],[https://bugs.freedesktop.org/enter_bug.cgi?product=shared-mime-info])
AC_INIT(freedesktop.org.xml.in)
AM_INIT_AUTOMAKE(shared-mime-info, 0.19)
AM_INIT_AUTOMAKE([1.9 foreign no-dist-gzip dist-bzip2])
AM_CONFIG_HEADER(config.h)
AC_CONFIG_HEADERS([config.h])
dnl Checks for programs.
AC_PROG_CC
......@@ -42,11 +41,10 @@ AC_ARG_ENABLE(update-mimedb,
enable_update_mimedb=yes)
AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes)
mimedir=['${datadir}/mime']
AC_SUBST(mimedir)
AC_OUTPUT(
AC_CONFIG_FILES([
Makefile
shared-mime-info.pc
po/Makefile.in
)
])
AC_OUTPUT
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment