[Pkg-openldap-devel] [openldap] 01/02: lastbind-makefile-manpage: install slapo-lastbind.5 man page

Ryan Tandy rtandy-guest at moszumanska.debian.org
Fri Aug 14 23:49:08 UTC 2015


This is an automated email from the git hooks/post-receive script.

rtandy-guest pushed a commit to branch master
in repository openldap.

commit 200b6dceaa95cf3c171ad2912b57d75d503e1f52
Author: Peter Marschall <peter at adpm.de>
Date:   Sun Jul 26 11:58:02 2015 +0200

    lastbind-makefile-manpage: install slapo-lastbind.5 man page
---
 debian/patches/lastbind-makefile-manpage | 46 ++++++++++++++++++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 47 insertions(+)

diff --git a/debian/patches/lastbind-makefile-manpage b/debian/patches/lastbind-makefile-manpage
new file mode 100644
index 0000000..900d051
--- /dev/null
+++ b/debian/patches/lastbind-makefile-manpage
@@ -0,0 +1,46 @@
+--- a/contrib/slapd-modules/lastbind/Makefile
++++ b/contrib/slapd-modules/lastbind/Makefile
+@@ -17,6 +17,7 @@
+ 	$(LDAP_BUILD)/debian/build/libraries/liblber/liblber.la
+ 
+ LIBTOOL = $(LDAP_BUILD)/debian/build/libtool
++INSTALL = /usr/bin/install
+ CC = gcc
+ OPT = -g -O2 -Wall
+ DEFS = -DSLAPD_OVER_LASTBIND=SLAPD_MOD_DYNAMIC
+@@ -25,6 +26,7 @@
+ 
+ PROGRAMS = lastbind.la
+ LTVER = 0:0:0
++MANPAGES = slapo-lastbind.5
+ 
+ prefix=/usr
+ exec_prefix=$(prefix)
+@@ -33,6 +35,8 @@
+ libdir=$(exec_prefix)/lib
+ libexecdir=$(exec_prefix)/libexec
+ moduledir = $(libdir)$(ldap_subdir)
++mandir = $(exec_prefix)/share/man
++man5dir = $(mandir)/man5
+ 
+ .SUFFIXES: .c .o .lo
+ 
+@@ -48,9 +52,17 @@
+ clean:
+ 	rm -rf *.o *.lo *.la .libs
+ 
+-install: $(PROGRAMS)
++install: install-lib install-man FORCE
++
++install-lib: $(PROGRAMS)
+ 	mkdir -p $(DESTDIR)$(moduledir)
+ 	for p in $(PROGRAMS) ; do \
+ 		$(LIBTOOL) --mode=install cp $$p $(DESTDIR)$(moduledir) ; \
+ 	done
+ 
++install-man: $(MANPAGES)
++	mkdir -p  $(DESTDIR)$(man5dir)
++	$(INSTALL) -m 644 $(MANPAGES) $(DESTDIR)$(man5dir)
++
++FORCE:
++
diff --git a/debian/patches/series b/debian/patches/series
index 613612b..01d01a3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -12,6 +12,7 @@ contrib-modules-use-dpkg-buildflags
 smbk5pwd-makefile
 autogroup-makefile
 lastbind-makefile
+lastbind-makefile-manpage
 pw-sha2-makefile
 ldap-conf-tls-cacertdir
 add-tlscacert-option-to-ldap-conf

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openldap/openldap.git



More information about the Pkg-openldap-devel mailing list