[Pkg-scicomp-devel] paraview/trunk/debian

Ondrej Certik ondrej at certik.cz
Sat Feb 2 20:19:06 UTC 2008


SVN commit 2044 by certik-guest:

debian/rules changes

 M  +6 -6      paraview/trunk/debian/rules  


--- paraview/trunk/debian/rules #2043:2044
@@ -29,16 +29,16 @@
 config.status: configure
 	dh_testdir
 	# Add here commands to configure the package.
-	# FIXME
+	mkdir para
+	cd para; cmake ../
 
-
 build: build-stamp
 
 build-stamp:  config.status
 	dh_testdir
 
 	# Add here commands to compile the package.
-	$(MAKE)
+	cd para;$(MAKE)
 
 	touch $@
 
@@ -48,8 +48,7 @@
 	rm -f build-stamp 
 
 	# Add here commands to clean up after the build process.
-	[ ! -f Makefile ] || $(MAKE) distclean
-	rm -f config.sub config.guess
+	rm -rf para
 
 	dh_clean 
 
@@ -60,7 +59,7 @@
 	dh_installdirs
 
 	# Add here commands to install the package into debian/paraview.
-	# FIXME
+	CMAKE_INSTALL_PREFIX=debian/paraview $(MAKE) install
 
 
 # Build architecture-independent files here.
@@ -103,3 +102,4 @@
 
 orig-tarball:
 	wget http://www.paraview.org/files/v3.2/paraview-3.2.1.tar.gz
+	mv paraview-3.2.1.tar.gz paraview_3.2.1.orig.tar.gz



More information about the Pkg-scicomp-devel mailing list