From 121cd4dcb66aee2094cf9e20ebcd798a35274496 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sat, 12 Jul 2008 01:52:14 +0200 Subject: [PATCH] Some fixes to .depend generation. --- modules/Makefile.in | 2 +- src/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/Makefile.in b/modules/Makefile.in index 22e54e6..f1807cf 100644 --- a/modules/Makefile.in +++ b/modules/Makefile.in @@ -203,7 +203,7 @@ depend: @$(RM) -f .depend ${MKDEP} ${CPPFLAGS} ${ALL_SRCS} > .depend @$(SED) -e '${SEDOBJ}' < .depend > .depend.tmp-1 - @$(SED) -e 's/^m_\(die\|kick\|kill\|message\|mode\|nick\|part\|quit\|server\|sjoin\|squit\)/core\/m_\1/' .depend.tmp-1 > .depend.tmp + @$(SED) -e 's#^m_die\.#core/&#' -e 's#^m_error\.#core/&#' -e 's#^m_join\.#core/&#' -e 's#^m_kick\.#core/&#' -e 's#^m_kill\.#core/&#' -e 's#^m_message\.#core/&#' -e 's#^m_mode\.#core/&#' -e 's#^m_nick\.#core/&#' -e 's#^m_part\.#core/&#' -e 's#^m_quit\.#core/&#' -e 's#^m_server\.#core/&#' -e 's#^m_squit\.#core/&#' .depend.tmp-1 > .depend.tmp @$(MV) -f .depend.tmp .depend @$(RM) -f .depend.tmp-1 diff --git a/src/Makefile.in b/src/Makefile.in index f2298b7..5322b5a 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -144,7 +144,7 @@ version.c: version.c.SH .PHONY: depend clean distclean depend: - ${MKDEP} ${CPPFLAGS} ${BASE_SRCS} > .depend + ${MKDEP} ${CPPFLAGS} ${SRCS} > .depend clean: ${RM} -f *.o *.exe *~ y.tab.* lex.yy.c ircd.core core ircd