mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
545ae83d07
by not using a temp file in there for irssi-version.h. Note that this will still not work if the source has changed since it was compiled, but that is to be expected. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5062 dbcabf3a-b0e7-0310-adc4-f8d773084564
37 lines
890 B
Makefile
37 lines
890 B
Makefile
ACLOCAL_AMFLAGS = -I .
|
|
|
|
# create default-config.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) | cmp -s - $@ || $(srcdir)/irssi-version.sh $(srcdir) >$@
|
|
|
|
SUBDIRS = src docs scripts
|
|
|
|
confdir = $(sysconfdir)
|
|
conf_DATA = irssi.conf
|
|
|
|
themedir = $(datadir)/irssi/themes
|
|
theme_DATA = default.theme colorless.theme
|
|
|
|
pkginclude_HEADERS = irssi-config.h irssi-version.h
|
|
|
|
EXTRA_DIST = \
|
|
ChangeLog \
|
|
autogen.sh \
|
|
curses.m4 \
|
|
README \
|
|
file2header.sh \
|
|
$(conf_DATA) \
|
|
$(theme_DATA) \
|
|
irssi-config.in \
|
|
irssi-icon.png \
|
|
irssi-version.sh \
|
|
syntax.pl
|