Author: Isomer <isomer@coders.net>
[ircu2.10.12-pk.git] / Makefile.in
index 8a0bad9dd987e645688475ed1b195e7799f81f62..f511a011679ae7bdba4454a030657f3adc0c5259 100644 (file)
@@ -29,13 +29,13 @@ AWK=@AWK@
 
 all: build
 
-.PHONY: server build depend install config update diff patch export
+.PHONY: server build depend install config update diff patch export update
 # Some versions of make give a warning when this is empty:
 .SUFFIXES: .dummy
 
 build:
        @if [ ! -f config/config.h ]; then \
-               echo "Run 'make config' to configure the server"; \
+               $(MAKE) config; \
        else \
          for i in config ircd; do \
                  echo "Building $$i..."; \
@@ -122,3 +122,7 @@ indent:
        @test "`indent --version`" = "GNU indent 2.1.0" || \
          (echo "You need GNU indent 2.1.0; See doc/readme.indent" && exit -1);
        VERSION_CONTROL=none indent include/*.h ircd/*.c
+
+# do a cvs update
+update:
+       cvs -z9 update
\ No newline at end of file