Skip to content

Commit

Permalink
doc: Add first draft of a manpage.
Browse files Browse the repository at this point in the history
  • Loading branch information
drahnr committed Oct 19, 2015
1 parent f4de95b commit e5e8ead
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
12 changes: 12 additions & 0 deletions data/oregano.MAN.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.SH NAME oregano \- an electrical engineering tool

.B oregano [[--debug-wires] [--debug-dots] [--debug-boundingboxes] [--debug-directions] | [--debug-all]] [--display=DISPLAY]

.SH DESCRIPTION
A simulation frontend for ngspice and gnucap written in 21st century Gtk+.

.SH BUGS
File bugs at https://github.com/drahnr/oregano

.SH AUTHOR
Bernhard Schuster <bernhard at ahoi dot io>
6 changes: 5 additions & 1 deletion data/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# encoding: utf-8

top = '..'
build = '../build'
out = '../build'

from waflib import Logs as logs
from waflib import Utils as utils
Expand Down Expand Up @@ -64,3 +64,7 @@ def build(bld):
target = 'mime/oregano.xml',
install_path = '${DATADIR}/mime/packages/',
)


bld(rule = "groff ${SRC} > ${TGT}", source="oregano.MAN.in", target="oregano.5")
bld.install_files ('${MANDIR}/man5', 'oregano.5')
5 changes: 5 additions & 0 deletions oregano.spec
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,12 @@ rm -rf "$RPM_BUILD_ROOT"
%{_datadir}/mime/packages/oregano-mimetypes.xml
%{_datadir}/glib-2.0/schemas/io.ahoi.oregano.gschema.xml

%{_mandir}/man5/

%changelog
* Mon Oct 19 2015 Bernhard Schuster <bernhard@ahoi.io> 0.83.3-2
- Add manpage

* Wed Jul 15 2015 Bernhard Schuster <bernhard@ahoi.io> 0.83.3-1
- Version bump
- Ignore distclean exit codes not equal 0
Expand Down

0 comments on commit e5e8ead

Please sign in to comment.