File: Makefile.am

package info (click to toggle)
kvirc 1%3A2.1.2-11
  • links: PTS
  • area: main
  • in suites: woody
  • size: 12,184 kB
  • ctags: 13,390
  • sloc: cpp: 81,801; sh: 9,982; ansic: 802; makefile: 739
file content (83 lines) | stat: -rwxr-xr-x 3,294 bytes parent folder | download
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
74
75
76
77
78
79
80
81
82
83
###############################################################################
# KVIrc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
###############################################################################

EXTRA_DIST    = gendoc.sh autogen.sh build_number INSTALL INSTALL.freebsd README TODO

SUBDIRS          = admin data doc po shellscripts src

AUTOMAKE_OPTIONS = foreign 

###############################################################################
# Html classes documentation : check it out
###############################################################################

kdoc:
	cd $(topdir)/src && make kdoc

###############################################################################
# Messages
###############################################################################

messages:
	xgettextsources=`find $(topdir)/src/ -name "*.cpp" -print`; \
	xgettext -C -k__tr -k_i18n_ -k_i19n_ $$xgettextsources && mv messages.po $(topdir)/po/kvirc.pot

###############################################################################
# Delete moc files all around
###############################################################################

delmoc:
	rm -f $(topdir)/src/*/m_*.moc
	rm -f $(topdir)/src/plugins/*/m_*.moc

###############################################################################
# Main make command
###############################################################################

kvirc-intro:
	@echo "################################################################################"
	@echo "### Ok..."
	@echo "### The compilation process will take a while..."
	@echo "### Have a cold beer in the meantime..."
	@echo "################################################################################"
	
kvirc-outro:
	@echo "################################################################################"
	@echo "### Finished..."
	@echo "### Now type 'make install'"
	@echo "################################################################################"

kvirc: kvirc-intro all kvirc-outro

###############################################################################
# Generate documentation
###############################################################################

docs:
	$(mkinstalldirs) $(DESTDIR)$(helpdir)
	chmod 0777 ./gendoc.sh
	./gendoc.sh $(DESTDIR)$(helpdir)

###############################################################################
# Finished :)
###############################################################################

install-data-local:
	@echo "################################################################################"
	@echo "### INSTALLATION COMPLETE"
	@echo "################################################################################"
	@echo "###"
	@echo "### KVIrc is now installed and ready to run."
	@echo "### If you also want the help files to be generated and installed"
	@echo "### type 'make docs' as root"
	@echo "###"
	@echo "### Mailing list and CVS information can be obtained from"
	@echo "###     http://www.kvirc.net/"
	@echo "###"
	@echo "### We hope that you will enjoy KVIrc."
	@echo "###"
	@echo "### - Szymon Stefanek and the KVIrc Development Team"
	@echo "###"
	@echo "################################################################################"