summaryrefslogtreecommitdiffstats
path: root/ktip/Makefile.am
blob: e9157fd51b55006c23306eef101782d09474fae8 (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
INCLUDES = $(all_includes)

SUBDIRS = pics

bin_PROGRAMS = ktip
ktip_SOURCES = ktipwindow.cpp
ktip_LDADD = $(LIB_KDEUI)
ktip_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor

METASOURCES = AUTO
KDE_ICON = AUTO

xdg_apps_DATA = ktip.desktop

autostart_DATA = ktip.desktop
autostartdir = $(datadir)/autostart

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

messages: 
	$(PREPARETIPS) > tips.txt
	$(XGETTEXT) *.txt *.cpp -o $(podir)/ktip.pot
	rm -f tips.txt

appdata_DATA = tips
appdatadir=$(kde_datadir)/kdewizard