summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in7
-rw-r--r--src/Makefile7
-rw-r--r--version.log6
3 files changed, 17 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index f851fde08..94785e842 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -54,6 +54,13 @@ modules: build
(cd src/modules ; ./configure ; ${MAKE} ${MAKEARGS} all; )
@echo "*** All done, now (g)make install to install Anope/Modules";
+clean_modules:
+ (cd src ; ${MAKE} ${MAKEARGS} clean_modules )
+
+distclean_modules:
+ (cd src ; ${MAKE} ${MAKEARGS} distclean_modules )
+
+
tools: build
(cd src/tools ; ${MAKE} ${MAKEARGS} all; )
@echo "*** All done, now (g)make install to install Anope/Modules/Tools";
diff --git a/src/Makefile b/src/Makefile
index f1c6a4169..b4b1269ec 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -38,6 +38,7 @@ MAKEARGS = 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'ANOPELIBS=${ANOPELIBS}' \
all: services
distclean: clean spotless
+distclean_modules: clean_modules spotless
services: $(OBJS)
$(CC) $(CFLAGS) $(OBJS) $(ANOPELIBS) $(MLIBS) -o $@ $(LDFLAGS)
@@ -87,10 +88,12 @@ rdb.o: rdb.c $(INCLUDES)
modules: DUMMY
(cd modules ; ./configure ; ${MAKE} ${MAKEARGS} all)
-clean:
+clean: clean_modules
+ rm -f *.o services a.out
+clean_modules:
@touch modules/Makefile.inc # Horribly ugly...
(cd modules ; ${MAKE} ${MAKEARGS} clean)
- rm -f *.o services a.out
+
spotless: clean
(cd modules ; ${MAKE} ${MAKEARGS} distclean)
diff --git a/version.log b/version.log
index 104cd7945..1909ed566 100644
--- a/version.log
+++ b/version.log
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="8"
-VERSION_BUILD="595"
+VERSION_BUILD="596"
# $Log$
#
+# BUILD : 1.7.8 (596)
+# BUGS : N/A
+# NOTES : Added clean_modules and distclean_modules as valid make targets
+#
# BUILD : 1.7.8 (595)
# BUGS : N/A
# NOTES : ShadowIRCD, and cleaned up Numeric