r36733 - in /packages/ng-spice-rework/trunk/debian: changelog control ngspice-doc.doc-base ngspice.install rules

gudjon-guest at users.alioth.debian.org gudjon-guest at users.alioth.debian.org
Sat Jul 10 18:23:16 UTC 2010


Author: gudjon-guest
Date: Sat Jul 10 18:23:15 2010
New Revision: 36733

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36733
Log:
* Add dependency on lyx, elyxer and texlive-lang-greek
* Fix compilation of doc in rules file

Modified:
    packages/ng-spice-rework/trunk/debian/changelog
    packages/ng-spice-rework/trunk/debian/control
    packages/ng-spice-rework/trunk/debian/ngspice-doc.doc-base
    packages/ng-spice-rework/trunk/debian/ngspice.install
    packages/ng-spice-rework/trunk/debian/rules

Modified: packages/ng-spice-rework/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/changelog?rev=36733&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/changelog (original)
+++ packages/ng-spice-rework/trunk/debian/changelog Sat Jul 10 18:23:15 2010
@@ -4,8 +4,10 @@
   * Bump standards version to 3.9.0
   * Rewrite get-orig-source
   * Switch to dpkg-source 3.0 (quilt) format
+  * Add dependency on lyx, elyxer and texlive-lang-greek
+  * Fix compilation of doc in rules file
 
- -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Sat, 10 Jul 2010 16:45:17 +0200
+ -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Sat, 10 Jul 2010 20:22:39 +0200
 
 ng-spice-rework (20-1) unstable; urgency=low
 

Modified: packages/ng-spice-rework/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/control?rev=36733&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/control (original)
+++ packages/ng-spice-rework/trunk/debian/control Sat Jul 10 18:23:15 2010
@@ -6,7 +6,7 @@
  Andreas Tille <tille at debian.org>
 Build-Depends: debhelper (>= 7), automake, libtool, libxaw7-dev, flex,
  bison, gfortran, libeditline-dev, libncurses5-dev, quilt,
- texinfo, texlive-latex-base,
+ lyx, elyxer, texinfo, texlive-latex-base, texlive-lang-greek,
  tcl8.4-dev, tcl8.4, tk8.4-dev, tk8.4, blt-dev
 Standards-Version: 3.9.0
 Homepage: http://ngspice.sourceforge.net

Modified: packages/ng-spice-rework/trunk/debian/ngspice-doc.doc-base
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/ngspice-doc.doc-base?rev=36733&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/ngspice-doc.doc-base (original)
+++ packages/ng-spice-rework/trunk/debian/ngspice-doc.doc-base Sat Jul 10 18:23:15 2010
@@ -8,5 +8,5 @@
 Files: /usr/share/doc/ngspice-doc/ngspice.ps.gz
 
 Format: HTML
-Index: /usr/share/doc/ngspice-doc/html/index.html
+Index: /usr/share/doc/ngspice-doc/html/manual.html
 Files: /usr/share/doc/ngspice-doc/html/*.html

Modified: packages/ng-spice-rework/trunk/debian/ngspice.install
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/ngspice.install?rev=36733&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/ngspice.install (original)
+++ packages/ng-spice-rework/trunk/debian/ngspice.install Sat Jul 10 18:23:15 2010
@@ -1,5 +1,5 @@
 usr/bin/*
 usr/lib/spice/*
-usr/share/info/*
+#usr/share/info/*
 usr/share/man/*
 usr/share/ngspice/*

Modified: packages/ng-spice-rework/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/rules?rev=36733&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/rules (original)
+++ packages/ng-spice-rework/trunk/debian/rules Sat Jul 10 18:23:15 2010
@@ -3,7 +3,6 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
-include /usr/share/quilt/quilt.make
 
 # These are used for cross-compiling and for saving the configure script
 # from having to guess our platform (since we know it already)
@@ -18,13 +17,15 @@
 
 
 config.status: config.status-stamp configure
-config.status-stamp: $(QUILT_STAMPFN)
+config.status-stamp:
 	dh_testdir
 	# Make build dir for ngspice
 	mkdir -p build/ngspice
 	cp -Rl `ls . |grep -v build|grep -v debian` build/ngspice
 	cp -f /usr/share/misc/config.sub build/ngspice/config.sub
 	cp -f /usr/share/misc/config.guess build/ngspice/config.guess
+	cp -f /usr/share/misc/config.sub build/ngspice/doc/config.sub
+	cp -f /usr/share/misc/config.guess build/ngspice/doc/config.guess
 	# Make build dir for tclspice
 	mkdir -p build/tclspice
 	cp -Rl `ls . |grep -v build|grep -v debian` build/tclspice
@@ -78,12 +79,12 @@
 	cd build/ngspice && $(MAKE)
 	cd build/tclspice && $(MAKE)
 	# Build documentation
-	cd build/ngspice/doc && $(MAKE) ps
-	cd build/ngspice/doc && $(MAKE) html
+	cd build/ngspice/doc && lyx --export ps manual.lyx 
+	cd build/ngspice/doc && lyx --export html manual.lyx 
 
 	touch $@
 
-clean: unpatch
+clean:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp 
@@ -120,10 +121,10 @@
 	##	$(CURDIR)/debian/tclspice/usr/share/lintian/overrides/tclspice
 	# Documentation for ngspice, the same as for tclspice
 	mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/ngspice-doc/html
-	install -o root -g root -m 644 build/ngspice/doc/ngspice.html/* \
+	cp -a build/ngspice/doc/manual.html.LyXconv/* \
 		$(CURDIR)/debian/tmp/usr/share/doc/ngspice-doc/html
-	install -o root -g root -m 644 build/ngspice/doc/ngspice.ps \
-		$(CURDIR)/debian/tmp/usr/share/doc/ngspice-doc/
+	install -o root -g root -m 644 build/ngspice/doc/manual.ps \
+		$(CURDIR)/debian/tmp/usr/share/doc/ngspice-doc/ngspice.ps
 	# Removing /usr/share/info/dir file
 	rm -f $(CURDIR)/debian/tmp/usr/share/info/dir
 




More information about the debian-science-commits mailing list