First skeleton (Makefile)

This commit is contained in:
Thomas NOËL 2014-11-07 14:49:16 +01:00
parent a5c1f24b3b
commit 0767f56f34
3 changed files with 65 additions and 0 deletions

14
Makefile Normal file
View File

@ -0,0 +1,14 @@
LIBDIR = $(DESTDIR)/usr/lib/slapd-supann
BINDIR = $(DESTDIR)/usr/bin
SBINDIR = $(DESTDIR)/usr/sbin
ETCDIR = $(DESTDIR)/etc
MANDIR = $(DESTDIR)/usr/share/man
all:
install:
install -o root -g root -m 0755 slapd-supann $(BINDIR)
install -o root -g root -m 0644 slapd-supann.1 $(MANDIR)/man1
deb:
debuild -I.git -I*.ex -b -us -uc

3
slapd-supann Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
echo "not implemented"

48
slapd-supann.1 Normal file
View File

@ -0,0 +1,48 @@
.\" Hey, EMACS: -*- nroff -*-
.\" (C) Copyright 2014 Entr'ouvert <info@entrouvert.com>,
.\"
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH SLAPD-SUPANN 1
.\" 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
slapd-supann \- manage OpenLDAP server (slapd) with SupAnn flavor
.SH SYNOPSIS
.B slapd-supann
.RI [ options ] " command " ...
.SH DESCRIPTION
This manual page documents briefly the
.B slapd-supann
commands.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBslapd-supann\fP is a program that...
.SH OPTIONS
These programs follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options is included below.
For a complete description, see the Info files.
.TP
.B \-h, \-\-help
Show summary of options.
.TP
.B \-v, \-\-version
Show version of program.
.SH SEE ALSO
.BR slapd (8),
.BR ldapsearch (1),
.BR ldapvi (1)