summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 263c34f8fed3f1c31743641ccf09227b462fe306 (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
# create default-config.h
config.h: default-config.h

default-config.h: $(srcdir)/config
	$(srcdir)/file2header.sh $(srcdir)/config > default-config.h

if BUILD_PLUGINS
PLUGINS=plugins
endif
if BUILD_SERVERTEST
SERVERTEST=servertest
endif

SUBDIRS = po intl macros src $(PLUGINS) $(SERVERTEST) docs scripts

## to automatically rebuild aclocal.m4 if any of the macros in
## `macros/' change
@MAINT@include macros/macros.dep
@MAINT@macros/macros.dep: $(srcdir)/macros/Makefile.am
@MAINT@	cd macros && $(MAKE) macros.dep

if HAVE_GNOME
desktopdir = $(datadir)/gnome/apps/Internet
desktop_DATA = irssi.desktop

pixmapsdir=$(datadir)/pixmaps
pixmaps_DATA=irssi-icon.png

corbadir = $(sysconfdir)/CORBA/servers
corba_DATA = irssi.gnorba
endif

confdir = $(sysconfdir)/irssi
conf_DATA = config colorless.theme split.theme

EXTRA_DIST = \
	autogen.sh \
	README \
	README-HEBREW \
	file2header.sh \
	irssi.spec \
	$(conf_DATA) \
	$(pixmaps_DATA) \
	$(corba_DATA) \
	$(desktop_DATA)

## make rpms
rpm: Makefile
	$(MAKE) dist
	rpm -ta --clean $(PACKAGE)-$(VERSION).tar.gz