From owner-freebsd-questions Thu Mar 28 17:15:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by hub.freebsd.org (Postfix) with ESMTP id 3167037B404 for ; Thu, 28 Mar 2002 17:15:43 -0800 (PST) Received: from vicor-nb.com (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id B93691B229 for ; Thu, 28 Mar 2002 17:15:42 -0800 (PST) Message-ID: <3CA3C03E.F1607CE8@vicor-nb.com> Date: Thu, 28 Mar 2002 17:15:42 -0800 From: Julian Elischer Organization: VICOR X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.5-STABLE i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: questions@freebsd.org Subject: Stupid "make" question Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Maybe a Make guru can help me on this: I want to embed the following snippet into a Makefile, but it'd defeating me.... # # find the files being patched and revert them using CVS # unpatch: FILES=`grep Index ${FREEBSD_PATCHES}/*/*.patch | awk '{print $2}'`; \ rm $$FILES ; cd src;cvs update $$FILES ) any ideas? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message