1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00
irssi/Makefile.am

39 lines
821 B
Makefile
Raw Normal View History

# create default-config.h
config.h: default-config.h default-theme.h
default-config.h: $(srcdir)/config
$(srcdir)/file2header.sh $(srcdir)/config 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 = po intl $(GLIB_DIR) src $(SERVERTEST) docs scripts
confdir = $(sysconfdir)/irssi
conf_DATA = config colorless.theme split.theme
noinst_HEADERS = irssi-version.h
EXTRA_DIST = \
ChangeLog \
autogen.sh \
curses.m4 \
README \
file2header.sh \
irssi.spec \
irssi.spec.in \
$(conf_DATA) \
irssi-config.in \
irssi-icon.png
## make rpms
rpm: Makefile
$(MAKE) dist
rpm -ta --clean $(PACKAGE)-$(VERSION).tar.gz