[Pkg-lyx-devel] svn commit: r237 - /lyx/branches/lyx-1.5/debian/rules

pelle at users.alioth.debian.org pelle at users.alioth.debian.org
Sat Feb 3 23:19:22 CET 2007


Author: pelle
Date: Sat Feb  3 23:19:22 2007
New Revision: 237

URL: http://svn.debian.org/wsvn/pkg-lyx/?sc=1&rev=237
Log:
add separate configure step

Modified:
    lyx/branches/lyx-1.5/debian/rules

Modified: lyx/branches/lyx-1.5/debian/rules
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/branches/lyx-1.5/debian/rules?rev=237&op=diff
==============================================================================
--- lyx/branches/lyx-1.5/debian/rules (original)
+++ lyx/branches/lyx-1.5/debian/rules Sat Feb  3 23:19:22 2007
@@ -47,8 +47,8 @@
 
 LDFLAGS += -Wl,--as-needed
 
-build: patch build-stamp
-build-stamp:
+configure: patch configure-stamp
+configure-stamp:
 	dh_testdir
 
 	[ -f config/config.sub.backup ] \
@@ -64,6 +64,12 @@
 	test -d build-tree || mkdir build-tree
 	cd build-tree && CXXFLAGS="$(CFLAGS)" \
 		LDFLAGS="$(LDFLAGS)" ../configure $(CONFIGURE_OPTIONS)
+
+	touch configure-stamp
+
+build: configure build-stamp
+build-stamp:
+	dh_testdir
 	cd build-tree && $(MAKE)
 	touch build-stamp
 
@@ -72,7 +78,7 @@
 	dh_testdir
 	dh_testroot
 
-	rm -f build-stamp
+	rm -f build-stamp configure-stamp
 	rm -rf build-tree
 	mv config/config.guess.backup config/config.guess || true
 	mv config/config.sub.backup config/config.sub || true




More information about the Pkg-lyx-devel mailing list