[Pkg-tcltk-commits] r879 - tdom/trunk/debian

ssoberni-guest at alioth.debian.org ssoberni-guest at alioth.debian.org
Sun Jun 21 18:57:44 UTC 2009


Author: ssoberni-guest
Date: 2009-06-21 18:57:43 +0000 (Sun, 21 Jun 2009)
New Revision: 879

Modified:
   tdom/trunk/debian/rules
Log:
Adding tnc and tdomhtml extensions

Modified: tdom/trunk/debian/rules
===================================================================
--- tdom/trunk/debian/rules	2009-06-21 18:30:49 UTC (rev 878)
+++ tdom/trunk/debian/rules	2009-06-21 18:57:43 UTC (rev 879)
@@ -47,13 +47,38 @@
 		--enable-threads \
 		--includedir=$(DEV)/usr/include/tdom \
 		--with-expat=/usr)
+	# Add tnc extension
+        ( cd extensions/tnc ; ./configure \
+		--host=$(DEB_HOST_GNU_TYPE) \
+		--build=$(DEB_BUILD_GNU_TYPE) \
+		--prefix=/usr \
+		--mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info \
+		--with-tcl=/usr/lib/ \
+		--enable-threads\ 
+		--includedir=$(DEV)/usr/include/tdom \
+		--with-expat=/usr)
 
+	# Add tdomhtml extension
+	( cd extensions/tdomhtml ; ./configure \
+		--host=$(DEB_HOST_GNU_TYPE) \
+		--build=$(DEB_BUILD_GNU_TYPE) \
+		--prefix=/usr \
+		--mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info \
+		--with-tcl=/usr/lib/ \
+		--enable-threads\ 
+		--includedir=$(DEV)/usr/include/tdom \
+		--with-expat=/usr)
+
 build: build-stamp
 
 build-stamp: config.status
 	dh_testdir
 # Add here commands to compile the package.
 	( cd unix ; $(MAKE) )
+	( cd extensions/tnc ; $(MAKE) )
+	( cd extensions/tdomhtml ; $(MAKE) )
 #/usr/bin/docbook-to-man debian/tdom.sgml > tdom.1
 
 	touch build-stamp
@@ -65,6 +90,8 @@
 
 	# Add here commands to clean up after the build process.
 	-( cd unix; [ ! -f Makefile ] || $(MAKE) distclean; )
+	-( cd extensions/tnc; [ ! -f Makefile ] || $(MAKE) distclean; )
+	-( cd extensions/tdomhtml; [ ! -f Makefile ] || $(MAKE) distclean; )
 
 	dh_clean config.log config.status config.cache config.guess config.sub
 
@@ -75,7 +102,9 @@
 
 	# Add here commands to install the package into debian/tdom.
 	# ( cd unix/ ; $(MAKE) install DESTDIR=$(CURDIR)/debian/tdom/ )
-	( cd unix/ ; $(MAKE) install )	
+	( cd unix/ ; $(MAKE) install )
+	( cd extensions/tnc ; $(MAKE) install )
+	( cd extensions/tdomhtml ; $(MAKE) install)
 
 	# fix man pages (mann > man3)
 	mv $(CURDIR)/debian/tdom/usr/share/man/mann \




More information about the Pkg-tcltk-commits mailing list