summaryrefslogtreecommitdiffstats
path: root/kappfinder/Makefile.am
blob: fa9661236c248cd2bda6abac45a3d1b3f96a823f (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
SUBDIRS = apps

bin_PROGRAMS = kappfinder
kappfinder_SOURCES = main.cpp toplevel.cpp common.cpp
kappfinder_LDADD = $(LIB_KDEUI) $(LIB_KIO)
kappfinder_LDFLAGS = $(all_libraries) $(KDE_RPATH)

noinst_PROGRAMS = kappfinder_install
kappfinder_install_SOURCES = main_install.cpp common.cpp
kappfinder_install_LDADD = $(LIB_KDEUI)
kappfinder_install_LDFLAGS = $(all_libraries) $(KDE_RPATH)

INCLUDES = $(all_includes)
METASOURCES = AUTO

install-data-local: runkappfinder_$(RUN_KAPPFINDER)

runkappfinder_yes:
	echo "Installing non-KDE applications"
	pwd=`pwd`; \
	(cd $(srcdir) && $$pwd/kappfinder_install "$(DESTDIR)$(kde_appsdir)")

runkappfinder_no:

KDE_ICON = kappfinder

xdg_apps_DATA = kappfinder.desktop

messages:
	$(XGETTEXT) $(kappfinder_SOURCES) -o $(podir)/kappfinder.pot

install-data-local: uninstall.desktop
	$(mkinstalldirs) $(DESTDIR)$(kde_appsdir)/System
	$(INSTALL_DATA) $(srcdir)/uninstall.desktop $(DESTDIR)$(kde_appsdir)/System/kappfinder.desktop