move simulate.html to doc packages in examples directory debian-5.1.3-2
authorKevin Rosenberg <kevin@rosenberg.net>
Tue, 17 Nov 2009 04:33:34 +0000 (21:33 -0700)
committerKevin Rosenberg <kevin@rosenberg.net>
Tue, 17 Nov 2009 04:33:34 +0000 (21:33 -0700)
debian/changelog
debian/rules

index ace7484..744de1d 100644 (file)
@@ -1,3 +1,9 @@
+ctsim (5.1.3-2) unstable; urgency=low
+
+  * Move simulate.html to doc/examples and to doc package
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Mon, 16 Nov 2009 21:22:29 -0700
+
 ctsim (5.1.3-1) unstable; urgency=low
 
   * New upstream
index 1662a80..42f8109 100755 (executable)
@@ -68,12 +68,14 @@ install: build
        dh_installdirs
        dh_installdirs -p $(pkg-help) $(ctsim-shared)
        ${MAKE} install
+       rm $(DESTDIR)/usr/share/doc/$(pkg)/simulate.html
        dh_installdirs -p $(pkg) $(pixmap-dir)
        dh_installdirs -p $(pkg) $(desktop-dir)
        dh_install -p $(pkg) debian/ctsim.xpm $(pixmap-dir)
        dh_install -p $(pkg) debian/ctsim.desktop $(desktop-dir)
        dh_install -p $(pkg-help) docs/ctsim.htb $(ctsim-shared)
        dh_install -p $(pkg-doc) docs/html $(doc-dir)
+       dh_install -p $(pkg-doc) html/simulate.html $(doc-dir)/examples
        dh_link -p $(pkg-doc) $(doc-dir)/html/$(pkg)_contents.html $(doc-dir)/html/index.html
        gzip -9 docs/ctsim.pdf
        dh_install -p $(pkg-doc) docs/ctsim.pdf.gz $(doc-dir)
@@ -89,6 +91,7 @@ binary-indep: build install
        dh_installcron -i
        dh_installinfo -i
        dh_installchangelogs ChangeLog -i
+       dh_installexamples -p $(pkg-doc) tools/sample-ctsim.sh helical/sample-helical.sh -i
        dh_link -i
        dh_compress -i
        dh_fixperms -i
@@ -100,8 +103,7 @@ binary-indep: build install
 binary-arch: build install
        dh_testdir -a
        dh_testroot -a
-       dh_installdocs -a
-       dh_installexamples -p $(pkg) tools/sample-ctsim.sh helical/sample-helical.sh
+       dh_installdocs -Xsimulate.html -a
        dh_installchangelogs ChangeLog -a
        dh_strip -a
        dh_link -a