From: Ben Pfaff <blp@gnu.org>
Date: Sat, 29 Oct 2005 05:29:19 +0000 (+0000)
Subject: Add _build target for convenience.
X-Git-Tag: sav-api~2164
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41e094be993eeb4efdb747da26d0013f8c418e04;p=pspp

Add _build target for convenience.
---

diff --git a/Smake b/Smake
index 492fa79798..3b2a948b22 100644
--- a/Smake
+++ b/Smake
@@ -37,6 +37,10 @@ check: all
 	cd _check && make distcheck
 	rm -rf _check
 
+_build: all
+	test -d _build || mkdir _build
+	cd _build && ../configure $(CONFIGUREFLAGS)
+
 PO_FILES = po/ChangeLog po/Makefile po/Makefile.in po/Makefile.in.in	\
 po/POTFILES po/POTFILES.in po/Rules-quot po/boldquot.sed		\
 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header			\