Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dh_sphinxdoc(1) [debian man page]

DH_SPHINXDOC(1) 						     Debhelper							   DH_SPHINXDOC(1)

NAME
dh_sphinxdoc - helps with packaging Sphinx-generated documentation SYNOPSIS
dh_sphinxdoc [debhelper options] [-Xitem] [directory...] DESCRIPTION
dh_sphinxdoc is a debhelper program that prepares Sphinx-generated documentation for inclusion in a Debian package. More specifically: o It checks if all the files referenced by searchindex.js exist. o It replaces known *.js files with symlinks to /usr/share/javascript/sphinxdoc/ and generates ${sphinxdoc:Depends} substitution variable. o It removes the .doctrees directory. o It removes the .buildinfo file. o It removes the websupport.js file. OPTIONS
directory By default, dh_sphinxdoc scans your package looking for directories looking like they contain Sphinx-generated documentation. However, if you explicitly provide one or more directories, only they will be processed. -Xitem, --exclude=item Exclude files that contain item anywhere in their filename from being symlinked, removed or checked for existence. BUGS
Symlinking translations.js and non-English searchtools.js is not supported. SEE ALSO
debhelper(7), dh(1). This program is meant to be used together with debhelper. AUTHOR
Jakub Wilk <jwilk@debian.org> 2012-02-05 DH_SPHINXDOC(1)

Check Out this Related Man Page

DH_FIXPERMS(1)							     Debhelper							    DH_FIXPERMS(1)

NAME
dh_fixperms - fix permissions of files in package build directories SYNOPSIS
dh_fixperms [debhelperoptions] [-Xitem] DESCRIPTION
dh_fixperms is a debhelper program that is responsible for setting the permissions of files and directories in package build directories to a sane state -- a state that complies with Debian policy. dh_fixperms makes all files in usr/share/doc in the package build directory (excluding files in the examples/ directory) be mode 644. It also changes the permissions of all man pages to mode 644. It makes all files be owned by root, and it removes group and other write permission from all files. It removes execute permissions from any libraries, headers, Perl modules, or desktop files that have it set. It makes all files in the standard bin and sbin directories, usr/games/ and etc/init.d executable (since v4). Finally, it removes the setuid and setgid bits from all files in the package. OPTIONS
-Xitem, --exclude item Exclude files that contain item anywhere in their filename from having their permissions changed. You may use this option multiple times to build up a list of things to exclude. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> 9.20120909 2012-05-19 DH_FIXPERMS(1)
Man Page

3 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Numeric CHMOD for .js files

Hello! At present, my .js files are also within the public_html directory. Anyone is able to type the name of these files in their browser address bar and then be presented the javascript (or text) code. What numeric CHMOD should be applied to these, which: Permit the world and group to... (3 Replies)
Discussion started by: Texan
3 Replies

2. UNIX for Advanced & Expert Users

Extracting the different files from directory & its sub directories

Hi Everyone, It would be helpful if someone helps me on this. Requirement: I have a directory which includes different types of files(for example *.java,*.class),but not restricted for only these types. I need to find the same types of file extensions from its directories and subdirectories... (3 Replies)
Discussion started by: rcvasu
3 Replies

3. Shell Programming and Scripting

sh packaging

I wrote a sh program with many options and lot of cool stuff and I will to learn how to package it. So ppl could downlaod it and use it just like ls cp .. So if I have BUX.sh ppl could type BUX -r-r on the command line and it just work or I could have BUM man Also I like to offer them... (4 Replies)
Discussion started by: just_linux
4 Replies