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

33 lines
918 B
Makefile
Raw Normal View History

ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
# create default-config.h
BUILT_SOURCES = default-config.h default-theme.h irssi-version.h
CLEANFILES = default-config.h default-theme.h
@MAINTAINER_MODE_TRUE@.PHONY: irssi-version.h
default-config.h: $(srcdir)/irssi.conf
2017-10-25 10:22:57 -04:00
$(srcdir)/utils/file2header.sh $(srcdir)/irssi.conf default_config > default-config.h
2014-05-30 19:13:46 -04:00
2017-10-25 10:22:57 -04:00
default-theme.h: $(srcdir)/themes/default.theme
$(srcdir)/utils/file2header.sh $(srcdir)/themes/default.theme default_theme > default-theme.h
2014-05-30 19:13:46 -04:00
irssi-version.h:
2017-10-25 10:22:57 -04:00
VERSION="$(VERSION)" $(srcdir)/utils/irssi-version.sh $(srcdir) | \
cmp -s - $@ || VERSION="$(VERSION)" $(srcdir)/utils/irssi-version.sh $(srcdir) >$@
2017-10-25 10:22:57 -04:00
SUBDIRS = src docs scripts themes utils
confdir = $(sysconfdir)
conf_DATA = irssi.conf
pkginclude_HEADERS = irssi-config.h irssi-version.h
EXTRA_DIST = \
ChangeLog \
autogen.sh \
README.md \
$(conf_DATA) \
irssi-config.in \
2017-10-25 10:22:57 -04:00
irssi-icon.png