summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: b3bf5d788ded6dcc4330e69bfc4a64d294d45b45 (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
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 tdevassistant.desktop tdevelop_ruby.desktop \
	tdevelop_c_cpp.desktop  tdevelop_tde_cpp.desktop  tdevelop_scripting.desktop
#appsdir = $(kde_appsdir)/Development

app_DATA = tde_app_devel.desktop
appdir = $(kde_appsdir)/.hidden

xdg_directory_DATA = tde-development-tdevelop.directory

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

kde_bin_SCRIPTS = tdevprj2tdevelop

$(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 "*.cc" -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 = TDevelop Platform API
include Doxyfile.am
SUBDIRS=$(TOPSUBDIRS)
#tdevelop: lib src parts buildtools doc editors embedded tdevdesigner languages mimetypes pics vcs