1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
irssi/Makefile.am
Timo Sirainen 3007e251a6 IRSSI_VERSION_DATE is now parsed from ChangeLog by configure. Also added
IRSSI_VERSION_TIME.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2256 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 23:15:05 +00:00

44 lines
895 B
Makefile

# create default-config.h
config.h: default-config.h default-theme.h
default-config.h: $(srcdir)/irssi.conf
$(srcdir)/file2header.sh $(srcdir)/irssi.conf default_config > default-config.h
default-theme.h: $(srcdir)/default.theme
$(srcdir)/file2header.sh $(srcdir)/default.theme default_theme > default-theme.h
if BUILD_PLUGINS
PLUGINS=plugins
endif
if BUILD_SERVERTEST
SERVERTEST=servertest
endif
SUBDIRS = src $(SERVERTEST) docs scripts
confdir = $(sysconfdir)
conf_DATA = irssi.conf
themedir = $(datadir)/irssi/themes
theme_DATA = default.theme colorless.theme
noinst_HEADERS = irssi-version.h.in
EXTRA_DIST = \
ChangeLog \
autogen.sh \
curses.m4 \
README \
README.cygwin \
file2header.sh \
irssi.spec \
irssi.spec.in \
$(conf_DATA) \
$(theme_DATA) \
irssi-config.in \
irssi-icon.png
## make rpms
rpm: Makefile
$(MAKE) dist
rpm -ta --clean $(PACKAGE)-$(VERSION).tar.gz