summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-03-13 03:30:07 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-03-13 03:30:07 +0000
commit064d8d39268c0f0bdc63fda2fbddb6c38bba2a18 (patch)
treed632f3b226a5c6d990dd1f8a2aae8aefc82167db
parent3800c07a320d76eb35f06103af4da01ab176dc2e (diff)
downloadirssi-064d8d39268c0f0bdc63fda2fbddb6c38bba2a18.zip
"make dist" now doesn't add irc.c / irc-modules.c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2603 dbcabf3a-b0e7-0310-adc4-f8d773084564
-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