summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 791e596c3d25dc71664f64da05c86e956c6075dd (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
COMPILE_FIRST = lib src parts

EXTRA_DIST = AUTHORS COPYING COPYING.LIB NEWS ChangeLog INSTALL README TODO HACKING HACKING.language admin configure.in.bot

xdg_apps_DATA = tdevelop.desktop kdevassistant.desktop tdevelop_ruby.desktop \
	tdevelop_c_cpp.desktop  tdevelop_kde_cpp.desktop  tdevelop_scripting.desktop
#appsdir = $(kde_appsdir)/Development

xdg_directory_DATA = tde-development-tdevelop.directory

mime_DATA = x-tdevelop.desktop
mimedir = $(kde_mimedir)/application

kde_bin_SCRIPTS = kdevprj2kdevelop

$(top_srcdir)/acinclude.m4: $(top_srcdir)/tdevelop.m4.in

MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files

package-messages:
	$(MAKE) -f $(top_srcdir)/admin/Makefile.common package-messages
	$(MAKE) -C po merge

dist-hook:
	cd $(top_distdir) && perl admin/am_edit -padmin
	cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs

messages:
	find . -type d | grep -v CVS | grep -v '\.svn' | sed -e 's,$$,/,' > dirs
	mfs=`find . -name Makefile.am | xargs egrep -l '^messages:'` ;\
	for dir in $$mfs; do \
	  if test ! "$$dir" = "./Makefile.am"; then \
	    dir=`dirname $$dir` ;\
	    egrep -v "^$$dir" dirs > dirs.new && mv dirs.new dirs ;\
	  fi ;\
	done
	dirs=`cat dirs` ;\
	find $$dirs -maxdepth 1 -name "*.cpp" -print > files ;\
	find $$dirs -maxdepth 1 -name "*.h" -print >> files ;\
	$(EXTRACTRC) `find $$dirs -maxdepth 1 -name "*.rc"` > rc.cpp	;\
	$(EXTRACTRC) `find $$dirs -maxdepth 1 -name "*.ui"` >> rc.cpp    ;\
	$(XGETTEXT) rc.cpp `cat files` -o $(podir)/tdevelop.pot
	@rm -f rc.cpp dirs files

$(top_srcdir)/Makefile.am.in: # faking
include admin/deps.am

DOXYGEN_SEARCHENGINE = YES
DOXYGEN_EMPTY = YES
DOXYGEN_PROJECTNAME = KDevelop Platform API
include Doxyfile.am
SUBDIRS=$(TOPSUBDIRS)
#tdevelop: lib src parts buildtools doc editors embedded kdevdesigner languages mimetypes pics vcs