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 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
|
SUBDIRS = \
build \
lib \
docs \
icons \
tools \
po \
src \
extensions \
tests
desktop_in_files= \
f-spot.desktop.in \
f-spot-view.desktop.in \
f-spot-import.desktop.in
desktop_files=$(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = f-spot.pc
schemadir = $(sysconfdir)/gconf/schemas
schema_in_files = f-spot.schemas.in
schema_DATA = $(schema_in_files:.schemas.in=.schemas)
@INTLTOOL_SCHEMAS_RULE@
Applicationsdir = $(datadir)/applications
Applications_DATA = $(desktop_files)
CLEANFILES = \
$(desktop_DATA) \
$(schema_DATA) \
intltool-extract \
intltool-update \
intltool-merge
EXTRA_DIST = \
MAINTAINERS \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
f-spot.pc.in \
f-spot.spec \
Makefile.include \
Makefile.addins \
gnome-doc-utils.make \
icon-theme-installer \
$(schema_in_files) \
$(desktop_in_files) \
$(desktop_files)
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update \
gnome-doc-utils.make \
$(desktop_files)
DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper
UPDATE_DESKTOP = \
if [ -f $(DESTDIR)$(datadir)/applications/defaults.list ] ; then \
if which update-desktop-database>/dev/null 2>&1 ; then \
update-desktop-database; \
fi \
fi
install-data-local:
-GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA)
install-data-hook:
$(UPDATE_DESKTOP)
uninstall-hook:
$(UPDATE_DESKTOP)
if ENABLE_TESTS
test:
@pushd tests/src/; \
make test; \
popd;
endif
|