From: Wayne Davison Date: Mon, 17 Apr 2006 17:37:13 +0000 (+0000) Subject: Don't use -C with make because it's not portable. X-Git-Tag: v2.6.8~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=285edc91695ad6914f99940ffc19dd1f882073a7;p=thirdparty%2Frsync.git Don't use -C with make because it's not portable. --- diff --git a/Makefile.in b/Makefile.in index 62ecdb75..889f8063 100644 --- a/Makefile.in +++ b/Makefile.in @@ -91,13 +91,13 @@ t_unsafe$(EXEEXT): $(T_UNSAFE_OBJ) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(T_UNSAFE_OBJ) $(LIBS) gen: - $(MAKE) -C $(srcdir) -f prepare-source.mak gen + cd $(srcdir) && $(MAKE) -f prepare-source.mak gen man: - $(MAKE) -C $(srcdir) -f prepare-source.mak man + cd $(srcdir) && $(MAKE) -f prepare-source.mak man proto: - $(MAKE) -C $(srcdir) -f prepare-source.mak proto.h + cd $(srcdir) && $(MAKE) -f prepare-source.mak proto.h clean: cleantests rm -f *~ $(OBJS) $(TLS_OBJ) $(CHECK_PROGS) $(CHECK_OBJS)