summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fe-common/irc/Makefile.am9
-rw-r--r--src/irc/Makefile.am2
2 files changed, 9 insertions, 2 deletions
diff --git a/src/fe-common/irc/Makefile.am b/src/fe-common/irc/Makefile.am
index 4fbf5018..0ef46746 100644
--- a/src/fe-common/irc/Makefile.am
+++ b/src/fe-common/irc/Makefile.am
@@ -11,7 +11,7 @@ INCLUDES = \
-DHELPDIR=\""$(datadir)/irssi/help"\" \
-DSYSCONFDIR=\""$(sysconfdir)"\"
-libfe_common_irc_a_SOURCES = \
+real_sources = \
fe-irc-channels.c \
fe-irc-commands.c \
fe-irc-messages.c \
@@ -25,12 +25,17 @@ libfe_common_irc_a_SOURCES = \
fe-netjoin.c \
fe-netsplit.c \
fe-common-irc.c \
- irc-modules.c \
module-formats.c
+libfe_common_irc_a_SOURCES = \
+ $(real_sources) \
+ irc-modules.c
+
noinst_HEADERS = \
module.h \
module-formats.h
+DISTFILES = $(DIST_COMMON) $(real_sources) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
distclean-generic:
rm -f irc-modules.c
diff --git a/src/irc/Makefile.am b/src/irc/Makefile.am
index 3d803c35..c19f02e9 100644
--- a/src/irc/Makefile.am
+++ b/src/irc/Makefile.am
@@ -12,5 +12,7 @@ noinst_LIBRARIES = libirc.a
libirc_a_SOURCES = irc.c
+DISTFILES = $(DIST_COMMON) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
distclean-generic:
rm -f irc.c