summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@irssi.org>2014-07-13 21:24:36 +0200
committerAlexander Færøy <ahf@irssi.org>2014-07-13 21:24:36 +0200
commitcb1d3580fe4b2d24128b4fdbb8cd7f3ffc8facd7 (patch)
tree10ec7e070f04fe00c324a4cee0ef11cfcfa91f56 /Makefile.am
parentfcee49a441ddb2a6ec70e6497e7b6c1bbd9bae09 (diff)
downloadirssi-cb1d3580fe4b2d24128b4fdbb8cd7f3ffc8facd7.zip
irssi-version.h should only be a phony target if build in maintainer mode
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 4f1d1112..4cebd112 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,7 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
# create default-config.h
BUILT_SOURCES = default-config.h default-theme.h irssi-version.h
-.PHONY: irssi-version.h
+@MAINTAINER_MODE_TRUE@.PHONY: irssi-version.h
default-config.h: $(srcdir)/irssi.conf
$(srcdir)/file2header.sh $(srcdir)/irssi.conf default_config > default-config.h