add man page, debian/
This commit is contained in:
parent
40726e1879
commit
2d84dd5d65
9 changed files with 69 additions and 2 deletions
3
Makefile
3
Makefile
|
@ -22,8 +22,9 @@ clean:
|
||||||
|
|
||||||
install: ${PROG}
|
install: ${PROG}
|
||||||
${INSTALL} -c -m 555 -o root -g bin ${PROG} ${BINDIR}
|
${INSTALL} -c -m 555 -o root -g bin ${PROG} ${BINDIR}
|
||||||
|
${INSTALL} -c -m 444 -o root -g root oshash.1 ${MAN1DIR}
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
@rm -f ${BINDIR}/${PROG}
|
@rm -f ${BINDIR}/${PROG} ${MAN1DIR}/oshash.1
|
||||||
|
|
||||||
.PHONY: all install uninstall
|
.PHONY: all install uninstall
|
||||||
|
|
6
debian/changelog
vendored
Normal file
6
debian/changelog
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
oshash (0.1~ppa0) oneiric; urgency=low
|
||||||
|
|
||||||
|
* initial debian package
|
||||||
|
|
||||||
|
-- jan gerber <j@mailb.org> Sat, 31 Dec 2011 16:37:24 +0200
|
||||||
|
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
5
|
15
debian/control
vendored
Normal file
15
debian/control
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
Source: oshash
|
||||||
|
Section: utils
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Jan Gerber <j@mailb.org>
|
||||||
|
Build-Depends: cdbs (>= 0.4.27-3), debhelper (>> 5.0.0)
|
||||||
|
Standards-Version: 3.9.2
|
||||||
|
|
||||||
|
Package: oshash
|
||||||
|
Architecture: any
|
||||||
|
Section: utils
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Description: command-line utility to calculate oshash
|
||||||
|
command-line tool to calculate oshash of a file.
|
||||||
|
oshash is a fast but not reliable way to identify
|
||||||
|
a file.
|
13
debian/copyright
vendored
Normal file
13
debian/copyright
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
This package was debianized by Jan Gerber <j@mailb.org> on
|
||||||
|
Sat Dec 31 16:34:16 CEST 2011.
|
||||||
|
|
||||||
|
It was downloaded from bzr branch http://code.0x2620.org/oshash
|
||||||
|
|
||||||
|
Upstream Authors: Jan Gerber <j@mailb.org>
|
||||||
|
|
||||||
|
Copyright (C) 2011 <j@mailb.org>
|
||||||
|
|
||||||
|
You can find the mentioned GNU General Public License (GPL) (on a
|
||||||
|
Debian system) in the file /usr/share/common-licenses/GPL.
|
||||||
|
|
||||||
|
|
2
debian/oshash.install
vendored
Normal file
2
debian/oshash.install
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
oshash /usr/bin
|
||||||
|
oshash.1 /usr/share/man/man1
|
6
debian/rules
vendored
Executable file
6
debian/rules
vendored
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||||
|
include /usr/share/cdbs/1/rules/buildcore.mk
|
||||||
|
include /usr/share/cdbs/1/class/makefile.mk
|
||||||
|
|
23
oshash.1
Normal file
23
oshash.1
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
.TH OSHASH 1 "Aug 12, 2012"
|
||||||
|
.\" Please adjust this date whenever revising the manpage.
|
||||||
|
.\"
|
||||||
|
.\" Some roff macros, for reference:
|
||||||
|
.\" .nh disable hyphenation
|
||||||
|
.\" .hy enable hyphenation
|
||||||
|
.\" .ad l left justify
|
||||||
|
.\" .ad b justify to both left and right margins
|
||||||
|
.\" .nf disable filling
|
||||||
|
.\" .fi enable filling
|
||||||
|
.\" .br insert line break
|
||||||
|
.\" .sp <n> insert n+1 empty lines
|
||||||
|
.\" for manpage-specific macros, see man(7)
|
||||||
|
.SH NAME
|
||||||
|
oshash \- command-line tool to calculate oshash.
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B oshash
|
||||||
|
.RI filename
|
||||||
|
.SH DESCRIPTION
|
||||||
|
This manual page documents the \fBoshash\fP command.
|
||||||
|
.PP
|
||||||
|
oshash is a command-line tool to calculate the oshash of a
|
||||||
|
file. oshash is a fast but not reliable way to identify a file.
|
|
@ -1,7 +1,7 @@
|
||||||
/* -*- tab-width:4;c-file-style:"cc-mode"; -*- */
|
/* -*- tab-width:4;c-file-style:"cc-mode"; -*- */
|
||||||
/*
|
/*
|
||||||
* oshash.c -- generate oshash for provided files
|
* oshash.c -- generate oshash for provided files
|
||||||
* Copyright (C) 2011-2011 <j@v2v.cc>
|
* Copyright (C) 2011-2012 Jan Gerber <j@mailb.org>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
Loading…
Reference in a new issue