1999-09-03 10:27:29 -04:00
|
|
|
# create default-config.h
|
2000-12-01 21:01:51 -05:00
|
|
|
config.h: default-config.h default-theme.h
|
1999-09-03 10:27:29 -04:00
|
|
|
|
2001-07-05 19:16:18 -04:00
|
|
|
default-config.h: $(srcdir)/irssi.conf
|
|
|
|
$(srcdir)/file2header.sh $(srcdir)/irssi.conf default_config > default-config.h
|
2000-12-01 21:01:51 -05:00
|
|
|
default-theme.h: $(srcdir)/default.theme
|
|
|
|
$(srcdir)/file2header.sh $(srcdir)/default.theme default_theme > default-theme.h
|
1999-09-03 10:27:29 -04:00
|
|
|
|
|
|
|
if BUILD_PLUGINS
|
|
|
|
PLUGINS=plugins
|
|
|
|
endif
|
|
|
|
if BUILD_SERVERTEST
|
|
|
|
SERVERTEST=servertest
|
|
|
|
endif
|
|
|
|
|
2001-05-17 16:13:59 -04:00
|
|
|
SUBDIRS = src $(SERVERTEST) docs scripts
|
1999-09-03 10:27:29 -04:00
|
|
|
|
2001-07-05 19:16:18 -04:00
|
|
|
confdir = $(sysconfdir)
|
|
|
|
conf_DATA = irssi.conf
|
|
|
|
|
|
|
|
themedir = $(datadir)/irssi/themes
|
|
|
|
theme_DATA = default.theme colorless.theme
|
1999-09-03 10:27:29 -04:00
|
|
|
|
2000-04-26 04:10:09 -04:00
|
|
|
noinst_HEADERS = irssi-version.h
|
|
|
|
|
1999-11-20 09:00:24 -05:00
|
|
|
EXTRA_DIST = \
|
2000-08-13 10:47:50 -04:00
|
|
|
ChangeLog \
|
1999-09-03 10:27:29 -04:00
|
|
|
autogen.sh \
|
2000-07-26 19:55:32 -04:00
|
|
|
curses.m4 \
|
1999-11-23 15:47:48 -05:00
|
|
|
README \
|
1999-09-03 10:27:29 -04:00
|
|
|
file2header.sh \
|
|
|
|
irssi.spec \
|
2000-06-04 12:01:19 -04:00
|
|
|
irssi.spec.in \
|
1999-09-03 10:27:29 -04:00
|
|
|
$(conf_DATA) \
|
2001-07-05 19:16:18 -04:00
|
|
|
$(theme_DATA) \
|
2000-10-16 19:13:01 -04:00
|
|
|
irssi-config.in \
|
|
|
|
irssi-icon.png
|
1999-09-04 07:42:33 -04:00
|
|
|
|
|
|
|
## make rpms
|
|
|
|
rpm: Makefile
|
|
|
|
$(MAKE) dist
|
|
|
|
rpm -ta --clean $(PACKAGE)-$(VERSION).tar.gz
|