summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 4d071b74c508b35959c19a170abf48c19cb0f93d (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
# 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 src $(SERVERTEST) docs scripts

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

noinst_HEADERS = irssi-version.h

EXTRA_DIST = \
	autogen.sh \
	README \
	README-HEBREW \
	file2header.sh \
	irssi.spec \
	irssi.spec.in \
	$(conf_DATA) \
	irssi-config.in

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