summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:18:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:18:39 +0000
commitfff5217f02d91268ce90c8c05665602c059faaef (patch)
tree2ba24d32dc96eafe7ed0a85269548e76796d849d /Makefile.am
parentInitial commit. (diff)
downloadirssi-fff5217f02d91268ce90c8c05665602c059faaef.tar.xz
irssi-fff5217f02d91268ce90c8c05665602c059faaef.zip
Adding upstream version 1.4.5.upstream/1.4.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am35
1 files changed, 35 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..74f8130
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,35 @@
+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
+ $(srcdir)/utils/file2header.sh $(srcdir)/irssi.conf default_config > default-config.h
+
+default-theme.h: $(srcdir)/themes/default.theme
+ $(srcdir)/utils/file2header.sh $(srcdir)/themes/default.theme default_theme > default-theme.h
+
+irssi-version.h:
+ VERSION="$(VERSION)" $(srcdir)/utils/irssi-version.sh $(srcdir) | \
+ cmp -s - $@ || VERSION="$(VERSION)" $(srcdir)/utils/irssi-version.sh $(srcdir) >$@
+
+SUBDIRS = src tests docs scripts themes utils
+
+confdir = $(sysconfdir)
+conf_DATA = irssi.conf
+
+pkgconfig_DATA = irssi-1.pc
+
+pkginclude_HEADERS = irssi-config.h irssi-version.h
+
+EXTRA_DIST = \
+ ChangeLog \
+ autogen.sh \
+ README.md \
+ $(conf_DATA) \
+ irssi-icon.png \
+ meson.build \
+ meson_options.txt