diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 0fb81386..cbe147be 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,12 +1,16 @@ ACLOCAL_AMFLAGS = -I . # create default-config.h -BUILT_SOURCES = default-config.h default-theme.h +BUILT_SOURCES = default-config.h default-theme.h irssi-version.h + +.PHONY: irssi-version.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 +irssi-version.h: + $(srcdir)/irssi-version.sh $(srcdir) > $@ SUBDIRS = src docs scripts @@ -18,8 +22,6 @@ theme_DATA = default.theme colorless.theme pkginclude_HEADERS = irssi-config.h irssi-version.h -noinst_HEADERS = irssi-version.h.in - EXTRA_DIST = \ ChangeLog \ autogen.sh \ @@ -30,4 +32,5 @@ EXTRA_DIST = \ $(theme_DATA) \ irssi-config.in \ irssi-icon.png \ + irssi-version.sh \ syntax.pl |