Commit 7b04a428 authored by Jamie McCracken's avatar Jamie McCracken

Cleaned up makefiles

parent 07e7ffdd
2006-11-29 Patch from Michael Biebl <mbiebl at gmail com>
* cleaned up makefiles for debian compliance
* removed debian subfolder from cvs
* fixed make dist
2006-11-27 Edward Duffy <eduffy at gmail com>
* made thumbnailing fdo compliant
......
......@@ -6,12 +6,15 @@ pkgconfig_DATA = tracker.pc
xdgconfig_DATA = trackerd.desktop
EXTRA_DIST = \
$(pkgconfig_DATA) \
$(xdgconfig_DATA) \
AUTHORS NEWS INSTALL COPYING README \
ChangeLog \
configure.in \
rdf-query-examples/*.rdf \
rdf-query-examples/80s-music.rdf \
rdf-query-examples/90s-music.rdf \
rdf-query-examples/all-documents.rdf \
rdf-query-examples/big-documents.rdf \
rdf-query-examples/wallpapers.rdf \
intltool-extract.in \
intltool-merge.in \
intltool-update.in
......
......@@ -295,8 +295,11 @@ if test "x$enable_file_monitoring" = "xauto"; then
else
inotify_header="sys/inotify.h"
fi
AC_ARG_ENABLE(debug, [ --enable-inotify-debug turn on inotify debugging],
[AC_DEFINE(LIBINOTIFY_DEBUG,, [is debugging enabled?])],)
AC_ARG_ENABLE(debug,
AC_HELP_STRING([--enable-inotify-debug], [turn on inotify debugging]),
[AC_DEFINE(LIBINOTIFY_DEBUG,, [is debugging enabled?])],)
elif test "$fam_support" = "yes"; then
if test "$fam_type" = "gamin"; then
primary_backend="gamin"
......
......@@ -13,6 +13,7 @@ servicedir = $(prefix)/share/dbus-1/services
service_in_files = tracker.service.in
service_DATA = tracker.service
CLEANFILES = $(service_DATA)
EXTRA_DIST = $(config_DATA) $(service_in_files)
%.service: %.service.in
......
thumbappbindir = $(datadir)/tracker/filters/application
thumbappbindir = $(libdir)/tracker/filters/application
thumbappbin_SCRIPTS = pdf_filter \
msword_filter \
......
......@@ -2,16 +2,12 @@
if HAVE_GNOME
tracker_gui_dir = tracker-search-tool
else
tracker_gui_dir =
endif
if USING_EXTERNAL_SQLITE
sqlite_dir =
else
if !USING_EXTERNAL_SQLITE
sqlite_dir = sqlite3
endif
SUBDIRS = libstemmer $(sqlite_dir) text-filters trackerd libtracker tracker-extract tracker-thumbnailer $(tracker_gui_dir)
DIST_SUBDIRS = libstemmer $(sqlite_dir) text-filters trackerd libtracker tracker-extract tracker-thumbnailer $(tracker_gui_dir)
INCLUDES = \
-DDATADIR=\""$(datadir)"\" \
$(GLIB2_CFLAGS) \
$(DBUS_CFLAGS) \
$(CFLAGS) \
-g
$(DBUS_CFLAGS)
lib_LTLIBRARIES = libtrackerclient.la
......@@ -57,6 +55,3 @@ tracker_files_LDADD = $(GLIB2_LIBS) \
$(GOBJECT_LIBS) \
$(top_builddir)/src/libtracker/libtrackerclient.la
install-exec-hook:
cd $(DESTDIR)/$(libdir) && rm -f libtracker.so && ln -s libtrackerclient.so libtracker.so
cd $(DESTDIR)/$(libdir) && rm -f libtracker.so.0 && ln -s libtrackerclient.so.0 libtracker.so.0
INCLUDES = \
$(CFLAGS) \
-DOS_UNIX=1 \
-DHAVE_USLEEP=1 \
-DHAVE_FDATASYNC=1 \
-DNDEBUG \
-DTHREADSAFE=1 \
-DSQLITE_THREAD_OVERRIDE_LOCK=-1 \
-DSQLITE_OMIT_CURSOR \
-static \
-g
-DSQLITE_OMIT_CURSOR
noinst_LTLIBRARIES=libsqlite-private.la
......
INCLUDES = $(GLIB2_CFLAGS) $(CFLAGS) -g \
INCLUDES = $(GLIB2_CFLAGS) \
$(POPPLER_GLIB_CFLAGS) \
$(LIBPNG_CFLAGS) \
$(LIBEXIF_CFLAGS) \
......
/* .in. Generated from configure.in by autoheader. */
/* Major Version Number */
#undef MAJOR_VERSION
/* Micro Version Number */
#undef MICRO_VERSION
/* Minor Version Number */
#undef MINOR_VERSION
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
......@@ -25,9 +25,8 @@ INCLUDES = \
$(FAM_CFLAGS) \
$(DBUS_CFLAGS) \
$(additional_flags) \
$(CFLAGS) \
-I$(top_builddir)/src/libstemmer \
-g
-I$(top_builddir)/src/libstemmer
if HAVE_INOTIFY
inotify_sources = \
......
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