debian/0000755000000000000000000000000012154475624007200 5ustar debian/watch0000644000000000000000000000021212154472657010227 0ustar version=3 opts=dversionmangle=s/\+dfsg(\d+)?// \ http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/webgen .*/webgen-(.*).tar.gz debian/README.Debian0000644000000000000000000000172112154472657011245 0ustar Webgen is dynamic and some extra features can be activated by installing the following packages: - ruby-redcloth if you want Textile support. (http://hobix.com/textile/) - ruby-rmagick if you want automatic thumbnail creation for picture galleries. - libexif-ruby1.8 or libexif-ruby1.9.1 if you want to be able to have EXIF information available for image galleries. - ruby-bluecloth if you want Markdown support. - ruby-builder if you want to be able to programmatically create XHTML/XML documents. ================================================================================ Use the command "webgen help" to see webgen's inline help. ================================================================================ Quickstart tour: - First type: webgen create sample_site A directory sample_site is created containing a webgen site template. - Go in the newly created directory and type webgen (or webgen run) to generate the html pages from the templates. debian/webgen0.5.postinst0000644000000000000000000000053012154472657012500 0ustar #!/bin/sh set -e if [ "$1" = "configure" ] then update-alternatives --install /usr/bin/webgen webgen /usr/bin/webgen0.5 50 \ --slave /usr/share/man/man1/webgen.1.gz webgen.1.gz /usr/share/man/man1/webgen0.5.1.gz fi # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# debian/changelog0000644000000000000000000001743412154475142011056 0ustar webgen0.5 (0.5.17+dfsg1-1) unstable; urgency=low [ Cédric Boutillier ] * Updated Vcs fields to use the canonical URI. * Updated copyright file format version to 1.0 (no changes needed). [ Marc Dequènes (Duck) ] * New upstream release. * Increased Standards-Version to 3.8.4 (no changes). -- Marc Dequènes (Duck) Sat, 08 Jun 2013 02:27:07 +0200 webgen0.5 (0.5.14+dfsg1-3) unstable; urgency=low * Update dependencies to follow the new ruby policy for: exif, haml, and erubis. * Fixed breakage with the new YAML parser in Ruby 1.9, which is now the default version, thanks to Sebastian Reichel (Closes: #680227). * Removed embedded copy of JQuery and depends on libjs-jquery instead. -- Marc Dequènes (Duck) Wed, 04 Jul 2012 22:54:50 +0200 webgen0.5 (0.5.14+dfsg1-2) unstable; urgency=low * Add ruby-kramdown to recommends (closes: #600201) * Rebuild with recent gem2deb * Conforms to standards 3.9.3 -- Vincent Fourmond Sun, 24 Jun 2012 02:05:00 +0200 webgen0.5 (0.5.14+dfsg1-1) unstable; urgency=low * New upstream release. * Switched to gem2deb packaging style. * Switched to the new git repository. * Updated copyright file. -- Marc Dequènes (Duck) Tue, 20 Sep 2011 04:19:16 +0200 webgen0.5 (0.5.13+dfsg-2) unstable; urgency=low * Added myself to uploaders * Rename the binary webgen and its corresponding manual page as webgen0.5 * Provide webgen using alternatives (closes: #613127) * Bump to standards version 3.9.1 * Update dependencies in order to be installable together with the latest webgen0.4 -- Vincent Fourmond Sun, 13 Feb 2011 20:43:06 +0100 webgen0.5 (0.5.13+dfsg-1) unstable; urgency=low * New upstream release. * Increased Standards-Version to 3.9.0 (no changes). -- Marc Dequènes (Duck) Sat, 31 Jul 2010 10:44:54 +0200 webgen0.5 (0.5.12+dfsg-1) unstable; urgency=low * New upstream release. -- Marc Dequènes (Duck) Thu, 27 May 2010 20:01:14 +0200 webgen0.5 (0.5.11+dfsg-2) unstable; urgency=high * Adapted build dependencies to recent changes in the ruby package, fixing FTBFS (Closes #581333). * Removed Build-Conflicts on libxml2-utils, it is not needed anymore. -- Marc Dequènes (Duck) Wed, 26 May 2010 00:45:32 +0200 webgen0.5 (0.5.11+dfsg-1) unstable; urgency=low [ Paul van Tilburg ] * debian/watch: added mangle rule for the Debian version. [ Marc Dequènes (Duck) ] * New upstream release: + 'bin_header.diff' patch obsolete. * Switched to dpkg-source 3.0 (quilt) format. * Fixed obsolete-relation-form-in-source (lintian). * Increased Standards-Version to 3.8.4 (no changes). * Uploaded to unstable (Closes: #528563); * Added 'default_style_dfsg' patch to change default style to the only DFSG-compliant one remaining (Closes: #557571). -- Marc Dequènes (Duck) Wed, 24 Mar 2010 00:35:02 +0100 webgen0.5 (0.5.10+dfsg-1) experimental; urgency=low * New upstream release. * Removed non-DFSG compliant content i did not see. * Improved uncomplete copyright file (thanks to Torsten Werner). -- Marc Dequènes (Duck) Sat, 29 Aug 2009 14:54:08 +0200 webgen0.5 (0.5.8-1) experimental; urgency=low [ Marc Dequènes (Duck) ] * New upstream release. * Added myself to the package Uploaders (with Nohar's blessing). * Bumped Standards-Version (no changes). * Suggested installing doc-base along with webgen0.5-doc. * Reworked all build-depends/depends/recommends to match the needs to this new major version, and moved a few optional things as suggestion. * Tightened build-depends on ruby-pkg-tools because of very important fixes. * Switched to debhelper compat level 7, updated debhelper and cdbs minimum version accordingly, and added misc:Depends. * Added missing build-depends on patchutils (needed for cdbs). * Updated patch 'cmdparse2.diff'. * Removed obsolete patches 'shebang-ruby.diff', 'trash_statcounter.diff', and 'drop-fucking-rubygems.diff'. * Removed obsolete website example generation. * Added 'bin_header.diff' patch to fix shebang not being the first line in 'bin/webgen'. * Added depends on libjs-jquery and added a symlink to avoid duplicating softwares. * Added doc-base support. * Still disabling webgui ('disable_webgui.diff' patch and files removal) [ Lucas Nussbaum ] * Added Vcs-* fields. -- Marc Dequènes (Duck) Mon, 10 Aug 2009 00:59:34 +0200 webgen0.4 (0.4.7-2) unstable; urgency=low [ Vincent Fourmond ] * Add Build-Conflicts on libxml2-utils because the build hangs if xmllint is found. * Add Build-Depends on graphviz for the documentation [ Arnaud Cornet ] * Fix use of DEB_RUBY_LIBDIR that changed semantics in ruby-pkg-tools 0.14. (Closes: #486500), build depend on ruby-pkg-tools >= 0.14. * Merge Vincent's patch. * Add build conflict with webgen < 0.4. * Bump standard version to 3.8.0 (no change needed). -- Arnaud Cornet Sun, 22 Jun 2008 16:35:34 +0200 webgen0.4 (0.4.7-1) unstable; urgency=low * New Upstream Version * Bump standards version (no change needed). * Move -doc package to doc section. -- Arnaud Cornet Sat, 02 Feb 2008 12:57:09 +0100 webgen0.4 (0.4.6-1) unstable; urgency=low * New Upstream Version * Add Homepage dpkg header. * Update my email address. * Add build-deps on libmaruku-ruby and librmagick-ruby, for better doc generation. -- Arnaud Cornet Wed, 24 Oct 2007 22:09:19 +0200 webgen0.4 (0.4.5-1) unstable; urgency=low * New Upstream Version (Closes: #432332). * Refresh trash_statcounter.diff. * debian/README.Debian: document features gained by installing each recommended package. -- Arnaud Cornet Thu, 19 Jul 2007 15:05:35 +0200 webgen0.4 (0.4.2-1) unstable; urgency=low * New Upstream Version * Handle shabang more precisely. * Add optional dependencies in recommends (libbluecloth-ruby and libbuilder-ruby). * Add -doc in webgen0.4 recommends. * Move to quilt patch system. * Man page now provided by upstream. -- Arnaud Cornet Sat, 12 May 2007 11:55:26 +0200 webgen0.4 (0.4.1-1) experimental; urgency=low * New upstream release * Update man page. * Add libexif-ruby in Recommends. * Change source package to webgen0.4, conflict with webgen. We make two different packages (webgen and webgen0.4) because they are source- incompatible. This is to ease the transition for webgen users. * Update cmdparse2.diff. * Cleanup debian/rules. * Remove webgen/gui, which is not ready. * Generate webgen documentation in webgen0.4-doc package. -- Arnaud Cornet Sun, 4 Feb 2007 17:36:13 +0100 webgen (0.3.8-2) unstable; urgency=low * Update standards version to 3.7.2. Use Build-Depends-Indep instead of Build-Depends for ruby-pkg-tools and ruby. * Switch to use #!/usr/bin/ruby instead of #!/usr/bin/env ruby (Closes: #388357). * Added watchfile. * Use ruby CDBS class. -- Arnaud Cornet Sat, 23 Sep 2006 18:23:42 +0200 webgen (0.3.8-1) unstable; urgency=low * New upstream "bugfix" release -- Arnaud Cornet Sat, 31 Dec 2005 13:40:04 +0100 webgen (0.3.7-1) unstable; urgency=low * New upstream release. * Changed to require cmdparse2. * Drop binaries that use to qt. * Added setup.rb licence to debian/copyright. * Add dependency on rdoc, fixes bug #344660. -- Arnaud Cornet Sat, 24 Dec 2005 20:17:46 +0100 webgen (0.3.6-1) unstable; urgency=low * Initial Release. -- Arnaud Cornet Sun, 28 Aug 2005 13:06:39 +0200 debian/webgen0.5-doc.docs0000644000000000000000000000003612154472657012311 0ustar AUTHORS THANKS build-doc/rdoc debian/webgen0.5.install0000644000000000000000000000004012154472657012257 0ustar data/webgen/* usr/share/webgen/ debian/compat0000644000000000000000000000000212154472657010401 0ustar 7 debian/webgen0.5.manpages0000644000000000000000000000002212154472657012404 0ustar man/man1/webgen.1 debian/ruby-tests.rb0000644000000000000000000000073512154472657011656 0ustar # FIXME # there's a spec/ or a test/ directory in the upstream source, but # no test suite was defined in the Gem specification. It would be # a good idea to define it here so the package gets tested at build time. # Examples: # $: << 'lib' << '.' # Dir['{spec,test}/**/*.rb'].each { |f| require f } # # require 'test/ts_foo.rb' # # require 'rbconfig' # ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']) # exec("#{ruby} -I. test/runtests.rb") debian/webgen0.5.prerm0000644000000000000000000000034212154472657011743 0ustar #!/bin/sh set -e if [ "$1" = "remove" ] then update-alternatives --remove webgen /usr/bin/webgen0.5 fi # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# debian/source/0000755000000000000000000000000012154472657010503 5ustar debian/source/format0000644000000000000000000000001412154472657011711 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012154474077010630 5ustar debian/patches/default_style_dfsg0000644000000000000000000000511312154472657014424 0ustar Index: webgen0.5-0.5.11+dfsg/data/webgen/webgui/controller/main.rb =================================================================== --- webgen0.5-0.5.11+dfsg.orig/data/webgen/webgui/controller/main.rb 2010-03-24 00:26:42.000000000 +0100 +++ webgen0.5-0.5.11+dfsg/data/webgen/webgui/controller/main.rb 2010-03-24 00:27:19.000000000 +0100 @@ -88,7 +88,7 @@ end def create_website - @cur_bundle = request['website_bundle'] || @cur_bundle || 'style-andreas07' + @cur_bundle = request['website_bundle'] || @cur_bundle || 'simple' if request['create_site'] wm = Webgen::WebsiteManager.new(session['website_dir']) Index: webgen0.5-0.5.11+dfsg/doc/manual.page =================================================================== --- webgen0.5-0.5.11+dfsg.orig/doc/manual.page 2010-03-24 00:26:52.000000000 +0100 +++ webgen0.5-0.5.11+dfsg/doc/manual.page 2010-03-24 00:27:25.000000000 +0100 @@ -55,7 +55,7 @@ name or a bundle URL. > If you don't specify the `-b` option, the default value is used which applies the `default` - > and the `style-andreas07` bundles. The former only creates a simple `src/index.page` sothat + > and the `simple` bundles. The former only creates a simple `src/index.page` sothat > some output can be seen and the latter applies a nice layout. {:.information} Index: webgen0.5-0.5.11+dfsg/lib/webgen/cli/create_command.rb =================================================================== --- webgen0.5-0.5.11+dfsg.orig/lib/webgen/cli/create_command.rb 2010-03-24 00:26:56.000000000 +0100 +++ webgen0.5-0.5.11+dfsg/lib/webgen/cli/create_command.rb 2010-03-24 00:27:29.000000000 +0100 @@ -16,7 +16,7 @@ self.short_desc = 'Create a basic webgen website from website bundles' self.options = CmdParse::OptionParserWrapper.new do |opts| opts.separator "Options:" - opts.on('-b', '--bundle BUNDLE', String, "A website bundle name/URL or 'none'. Can be used more than once (default: [default, style-andreas07])") do |val| + opts.on('-b', '--bundle BUNDLE', String, "A website bundle name/URL or 'none'. Can be used more than once (default: [default, simple])") do |val| if val.downcase == 'none' @bundles = nil elsif !@bundles.nil? @@ -52,7 +52,7 @@ paths = wm.create_website begin if @bundles - @bundles = ['default', 'style-andreas07'] if @bundles.empty? + @bundles = ['default', 'simple'] if @bundles.empty? @bundles.each {|name| paths += wm.apply_bundle(Utils.match_bundle_name(wm, name)) } end rescue debian/patches/series0000644000000000000000000000007712154472657012053 0ustar cmdparse2.diff disable_webgui.diff default_style_dfsg 1.9_yaml debian/patches/1.9_yaml0000644000000000000000000000100412154472657012101 0ustar Index: webgen0.5/lib/webgen/website.rb =================================================================== --- webgen0.5.orig/lib/webgen/website.rb 2011-09-20 02:04:12.642477467 +0200 +++ webgen0.5/lib/webgen/website.rb 2012-07-04 22:12:53.041052320 +0200 @@ -1,5 +1,9 @@ # -*- encoding: utf-8 -*- +# added by Debian to prevent failure when using the new YAML parser in Ruby 1.9 +# see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680227 +require 'syck' + ## # Welcome to the API documentation of wegen! # debian/patches/drop-fucking-rubygems.diff0000644000000000000000000000137412154472657015714 0ustar Index: webgen0.4/data/webgen/gallery_styles/slides/collage.rb =================================================================== --- webgen0.4.orig/data/webgen/gallery_styles/slides/collage.rb 2007-10-24 22:03:30.000000000 +0200 +++ webgen0.4/data/webgen/gallery_styles/slides/collage.rb 2007-10-24 22:03:31.000000000 +0200 @@ -1,4 +1,3 @@ -require 'rubygems' require 'RMagick' REF = self Index: webgen0.4/doc/plugin/gallery/slides/collage.rb =================================================================== --- webgen0.4.orig/doc/plugin/gallery/slides/collage.rb 2007-10-24 22:03:22.000000000 +0200 +++ webgen0.4/doc/plugin/gallery/slides/collage.rb 2007-10-24 22:03:25.000000000 +0200 @@ -1,4 +1,3 @@ -require 'rubygems' require 'RMagick' REF = self debian/patches/cmdparse2.diff0000644000000000000000000000062212154472657013344 0ustar Index: webgen0.5-0.5.8/lib/webgen/cli.rb =================================================================== --- webgen0.5-0.5.8.orig/lib/webgen/cli.rb 2009-05-05 08:08:33.000000000 +0200 +++ webgen0.5-0.5.8/lib/webgen/cli.rb 2009-06-27 17:28:08.000000000 +0200 @@ -1,6 +1,6 @@ # -*- encoding: utf-8 -*- -require 'cmdparse' +require 'cmdparse2' require 'webgen/website' require 'webgen/version' debian/patches/disable_webgui.diff0000644000000000000000000000104512154472657014431 0ustar Index: webgen0.5-0.5.8/lib/webgen/cli.rb =================================================================== --- webgen0.5-0.5.8.orig/lib/webgen/cli.rb 2009-06-27 22:50:05.000000000 +0200 +++ webgen0.5-0.5.8/lib/webgen/cli.rb 2009-06-27 22:50:15.000000000 +0200 @@ -61,7 +61,6 @@ autoload :RunCommand, 'webgen/cli/run_command' autoload :CreateCommand, 'webgen/cli/create_command' - autoload :WebguiCommand, 'webgen/cli/webgui_command' autoload :ApplyCommand, 'webgen/cli/apply_command' autoload :Utils, 'webgen/cli/utils' debian/webgen0.5-doc.doc-base0000644000000000000000000000037012154472657013037 0ustar Document: webgen Title: Webgen Documentation Author: Thomas Leitner Abstract: Rdoc-generated API documentation. Section: Programming/Ruby Format: HTML Index: /usr/share/doc/webgen0.5-doc/rdoc/index.html Files: /usr/share/doc/webgen0.5-doc/rdoc/* debian/control0000644000000000000000000000341612154473742010606 0ustar Source: webgen0.5 Section: ruby Priority: optional Maintainer: Marc Dequènes (Duck) Uploaders: Debian Ruby Extras Maintainers , Vincent Fourmond Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~) Build-Depends-Indep: graphviz Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/webgen0.5.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/webgen0.5.git;a=summary Homepage: http://webgen.rubyforge.org XS-Ruby-Versions: all Package: webgen0.5 Architecture: all XB-Ruby-Versions: ${ruby:Versions} # libjs-jquery (when webgui is usuable) Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-cmdparse, ruby-maruku Recommends: ruby-redcloth | ruby-bluecloth, ruby-rmagick, ruby-kramdown Suggests: webgen0.5-doc, ruby-exif, ruby-builder, rake, ruby-haml, ruby-erubis Conflicts: webgen (<= 0.3.8-3), webgen0.4 (<= 0.4.7-4) Breaks: webgen (<= 0.3.8-3), webgen0.4 (<= 0.4.7-4) Description: fast, powerful, and extensible static website generator webgen is used to generate static websites from templates and content files (which can be written in a markup language). It can generate dynamic content like menus on the fly and comes with many powerful extensions. Package: webgen0.5-doc Architecture: all Section: doc Depends: ${misc:Depends}, libjs-jquery Suggests: doc-base Description: fast, powerful, and extensible static website generator -- API documentation webgen is used to generate static websites from templates and content files (which can be written in a markup language). It can generate dynamic content like menus on the fly and comes with many powerful extensions. . This is the Rdoc-generated documentation for Webgen. debian/README.source0000644000000000000000000000101212154472657011354 0ustar For general purpose Team Packaging guidelines, see: http://wiki.debian.org/Teams/Ruby/Packaging The following is the maintainer's local policy. Patches to the upstream code are managed in debian/patches/. It is easier to manage everything in git and use a single debian patch file, but it does not allow easy retrieval of a proper rebased patch and the patch's history cannot be sorted out quickly. Methods like gbp-pq are interesting but also have drawbacks, so it's how it gonna be handled in the package for now. debian/copyright0000644000000000000000000001024512154472657011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Webgen Upstream-Contact: Thomas Leitner Source: http://rubygems.org/gems/webgen Files: * Copyright: © 2004-2009 Thomas Leitner License: GPL-2 Files: setup.rb Copyright: © 2000-2004 Minero Aoki License: LGPL-2.1 Files: data/webgen/webgui/public/js/jquery.js Copyright: © 2008 John Resig License: MIT or GPL-2 Files: data/webgen/webgui/public/js/jquery.autocomplete.js Copyright: © 2007 Dylan Verheul, Dan G. Switzer, Anjesh Tuladhar, Jörn Zaefferer License: MIT or GPL-2 Files: lib/webgen/webgentask.rb Copyright: © 2007 Jeremy Hinegardner © 2007 Massimiliano Filacchioni © 2007-2009 Thomas Leitner License: GPL-2 Files: data/webgen/website_bundles/style/1024px data/webgen/website_bundles/style/andreas* Copyright: © 2008 Andreas Viklund © 2008 Thomas Leitner License: custom see http://andreasviklund.com/about/copyright Comment: licence on a remote and possibly changing website is problematic, and the updated conditions are non-free: Template-specific add-on material that is available on the single template pages, for example replacement header images or backgrounds, are free to use as specified with the templates. Re-distribution of this material and use for other purposes than as template add-ons will require a written permission from the add-on author. This content was then removed. Files: debian/* Copyright: Copyright (C) 2005-2008 Arnaud Cornet Copyright (C) 2009-2011 Marc Dequènes Copyright (C) 2008,2011 Vincent Fourmond License: GPL-2 License: LGPL-2.1 This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 2.1 of the License. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA License: MIT permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "software"), to deal in the software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software, and to permit persons to whom the software is furnished to do so, subject to the following conditions: . the above copyright notice and this permission notice shall be included in all copies or substantial portions of the software. . the software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. in no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software. License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 of the License. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/rules0000755000000000000000000000342312154472657010265 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby override_dh_auto_build: dh_auto_build rdoc --all --inline-source --diagram --fileboxes --line-numbers --fmt=html --main lib/webgen/website.rb \ -o build-doc/rdoc lib override_dh_auto_install: dh_auto_install # webgui is not usuable rm -f debian/webgen0.5/usr/lib/ruby/vendor_ruby/webgen/cli/webgui_command.rb # avoid software duplication (when webgui is usuable) #rm debian/webgen0.5/usr/share/webgen/webgui/public/js/jquery.js #dh_link -p webgen0.5 usr/share/javascript/jquery/jquery.js usr/share/webgen/webgui/public/js/jquery.js # rename the webgen binary as webgen0.5, to allow alternative mv debian/webgen0.5/usr/bin/webgen debian/webgen0.5/usr/bin/webgen0.5 override_dh_install: dh_install --remaining-packages # webgui is not usuable rm -rf debian/webgen0.5/usr/share/webgen/webgui override_dh_installdocs: dh_installdocs --remaining-packages # avoid software duplication rm debian/webgen0.5-doc/usr/share/doc/webgen0.5-doc/rdoc/js/jquery.js dh_link -p webgen0.5-doc usr/share/javascript/jquery/jquery.js usr/share/doc/webgen0.5-doc/rdoc/js/jquery.js override_dh_installman: dh_installman --remaining-packages # rename the webgen manpage as webgen0.5, to allow alternative mv debian/webgen0.5/usr/share/man/man1/webgen.1 debian/webgen0.5/usr/share/man/man1/webgen0.5.1 override_dh_auto_clean: dh_auto_clean rm -rf build-doc