summaryrefslogtreecommitdiffstats
path: root/cervisia/Makefile.am
blob: 15322c5a5ab91d0d36836113ba0460acaf2e7901 (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
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
CERVISIA_VERSION = 2.4.10
INCLUDES = -I./cvsservice -D_DEFAULT_SOURCE $(all_includes)

SUBDIRS = cvsservice . pics

bin_PROGRAMS =
lib_LTLIBRARIES =
tdeinit_LTLIBRARIES = cervisia.la
kde_module_LTLIBRARIES = libcervisiapart.la
noinst_LTLIBRARIES = libcervisia.la

libcervisia_la_SOURCES = annotatedlg.cpp diffdlg.cpp patchoptiondlg.cpp logdlg.cpp \
		   progressdlg.cpp progressdlg.skel resolvedlg.cpp resolvedlg_p.cpp annotateview.cpp \
		   diffview.cpp loglist.cpp logplainview.cpp logtree.cpp annotatectl.cpp   \
		   loginfo.cpp misc.cpp qttableview.cpp tooltip.cpp cervisiasettings.kcfgc \
		   settingsdlg.cpp settingsdlg_advanced.ui
libcervisia_la_COMPILE_FIRST = cvsservice/cvsservice_stub.h cervisiasettings.h

libcervisiapart_la_SOURCES = updateview.cpp protocolview.cpp protocolview.skel \
		   watchdlg.cpp changelogdlg.cpp historydlg.cpp \
		   repositorydlg.cpp commitdlg.cpp checkoutdlg.cpp updatedlg.cpp \
		   tagdlg.cpp mergedlg.cpp cvsdir.cpp repositories.cpp cervisiapart.cpp \
		   addrepositorydlg.cpp addremovedlg.cpp watchersdlg.cpp \
		   updateview_items.cpp updateview_visitors.cpp entry.cpp \
		   entry_status.cpp stringmatcher.cpp cvsinitdlg.cpp ignorelistbase.cpp dirignorelist.cpp \
		   globalignorelist.cpp editwithmenu.cpp logmessageedit.cpp
libcervisiapart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
libcervisiapart_la_LIBADD = $(LIB_TDEFILE) $(LIB_TDEPARTS) $(LIB_TDEUTILS) \
		   cvsservice/libcvsservice.la libcervisia.la
libcervisiapart_la_COMPILE_FIRST = cvsservice/cvsservice_stub.h cervisiasettings.h

cervisia_la_SOURCES = main.cpp cervisiashell.cpp
cervisia_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module $(KDE_PLUGIN)
cervisia_la_LIBADD = $(LIB_TDEPARTS) $(LIB_TDEUTILS) cvsservice/libcvsservice.la libcervisia.la
cervisia_la_COMPILE_FIRST = cvsservice/cvsservice_stub.h cervisiasettings.h

man_MANS = cervisia.1

METASOURCES = AUTO
KDE_ICON = AUTO

EXTRA_DIST = cervisia.desktop cervisia.png cervisia-small.png
CLEANFILES = cervisia.1

xdg_apps_DATA = cervisia.desktop

kde_kcfg_DATA = cervisiapart.kcfg

partrcdir = $(kde_datadir)/cervisiapart
partrc_DATA = cervisiaui.rc

shellrcdir = $(kde_datadir)/cervisia
shellrc_DATA = cervisiashellui.rc eventsrc

update_DATA = cervisia.upd
update_SCRIPTS = move_repositories.pl change_colors.pl cervisia-normalize_cvsroot.pl cervisia-change_repos_list.pl
updatedir = $(kde_datadir)/tdeconf_update

messages: rc.cpp
	$(EXTRACTRC) *.rc >> rc.cpp
	$(XGETTEXT) -C *.cpp *.h -o $(podir)/cervisia.pot

srcdoc:
	$(kde_bindir)/kdoc -a -p -d classdocs -n 'Cervisia' *.h -lqt -ltdecore -ltdeui -ltdeparts

cervisia.1: $(srcdir)/cervisia.1.in
	sed -e 's%_KDEHTMLDIR_%'${kde_htmldir}'%g;' \
	    -e 's%_KDECONFDIR_%'${kde_confdir}'%g;' \
	  < $(srcdir)/cervisia.1.in > cervisia.1

cervisia.1.in: cervisia.pod
	pod2man --center "Cervisia" --release "${CERVISIA_VERSION}" \
		cervisia.pod > cervisia.1.in