i've added cesarb's fix:

top-level Makefile has @src_dir@, right thing is @srcdir@, and some tabs seem tohave been converted to spaces.
This commit is contained in:
Nelson Rush 1999-12-30 23:50:31 +00:00
parent b5c66ceb00
commit 8da551b601

View file

@ -1,9 +1,9 @@
SUBDIRS = qw_client qw_server uquake SUBDIRS = qw_client qw_server uquake
SRC_DIR = @src_dir@ SRC_DIR = @srcdir@
all: all:
@for dir in $(SUBDIRS); do \ @for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $@ || exit; \ $(MAKE) -C $$dir $@ || exit; \
done done
distclean: distclean:
@ -14,7 +14,7 @@ distclean:
%: %:
@for dir in $(SUBDIRS); do \ @for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $@ || exit; \ $(MAKE) -C $$dir $@ || exit; \
done done
@ -22,17 +22,17 @@ distclean:
# source directory # source directory
ifeq ($(SRC_DIR),.) ifeq ($(SRC_DIR),.)
configure: configure.in configure: configure.in
autoconf autoconf
Makefile: Makefile.in configure Makefile: Makefile.in configure
./configure ./configure
qw_client/Makefile: qw_client/Makefile.in configure qw_client/Makefile: qw_client/Makefile.in configure
./configure ./configure
qw_server/Makefile: qw_server/Makefile.in configure qw_server/Makefile: qw_server/Makefile.in configure
./configure ./configure
uquake/Makefile: uquake/Makefile.in configure uquake/Makefile: uquake/Makefile.in configure
./configure ./configure
endif endif