--- /dev/null
+##---------------------------------------------------------------------------
+##
+## Makefile Template for Manual Pages
+##
+
+MANDIR=$(mandir)/man$(MANSECT)
+
+install-common: all-common install-local
+ -$(MKDIR) -p $(MANDIR)
+ @TMPMAN=/tmp/ldapman.$$$$$(MANCOMPRESSSUFFIX); \
+ VERSION=`$(CAT) $(VERSIONFILE)`; \
+ for page in *.$(MANSECT); do \
+ $(SED) -e "s%LDVERSION%$$VERSION%" \
+ -e 's%ETCDIR%$(sysconfdir)%' \
+ -e 's%SYSCONFDIR%$(sysconfdir)%' \
+ -e 's%SBINDIR%$(sbindir)%' \
+ -e 's%BINDIR%$(bindir)%' \
+ -e 's%LIBDIR%$(libdir)%' \
+ -e 's%LIBEXECDIR%$(libexecdir)%' \
+ $$page | $(MANCOMPRESS) > $$TMPMAN; \
+ echo "installing $(MANDIR)/$$page"; \
+ $(RM) $(MANDIR)/$$page $(MANDIR)/$$page$(MANCOMPRESSSUFFIX); \
+ $(INSTALL) $(INSTALLFLAGS) -m 644 $$TMPMAN $(MANDIR)/$$page$(MANCOMPRESSSUFFIX); \
+ if [ -f "$$page.links" ]; then \
+ for link in `$(CAT) $$page.links`; do \
+ echo "installing $(MANDIR)/$$link as link to $$page"; \
+ $(RM) $(INSTDIR)/$$link $(MANDIR)/$$link$(MANCOMPRESSSUFFIX); \
+ ln -sf $$page$(MANCOMPRESSSUFFIX) $(MANDIR)/$$link$(MANCOMPRESSSUFFIX); \
+ done; \
+ fi; \
+ done; \
+ $(RM) $$TMPMAN
+
+all-common: all-local
+clean-common: clean-local
+veryclean-common: veryclean-local clean-local
+depend-common: depend-local
+lint: lint-local
+lint5: lint5-local
+
+# these could be empty
+lint-local: FORCE
+lint5-local: FORCE
all-common: all-local $(PROGRAMS)
-install-common: all install-local
+install-common: all-common install-local
clean-common: clean-local
$(RM) $(PROGRAMS) $(XPROGRAMS) $(XSRCS) *.o a.out core
Makefile:build/top.mk:Makefile.in:build/dir.mk \
doc/Makefile:build/top.mk:doc/Makefile.in:build/dir.mk \
doc/man/Makefile:build/top.mk:doc/man/Makefile.in:build/dir.mk \
+doc/man/man1/Makefile:build/top.mk:doc/man/man1/Makefile.in:build/man.mk \
+doc/man/man3/Makefile:build/top.mk:doc/man/man3/Makefile.in:build/man.mk \
+doc/man/man5/Makefile:build/top.mk:doc/man/man5/Makefile.in:build/man.mk \
+doc/man/man8/Makefile:build/top.mk:doc/man/man8/Makefile.in:build/man.mk \
clients/Makefile:build/top.mk:clients/Makefile.in:build/dir.mk \
clients/finger/Makefile:build/top.mk:clients/finger/Makefile.in:build/rules.mk \
clients/fax500/Makefile:build/top.mk:clients/fax500/Makefile.in:build/rules.mk \
--- /dev/null
+## Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.
+## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
+##
+## doc Makefile.in for OpenLDAP
+
+SUBDIRS= man
--- /dev/null
+## Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.
+## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
+##
+## man Makefile.in for OpenLDAP
+
+SUBDIRS= man1 man3 man5 man8
--- /dev/null
+## Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.
+## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
+##
+## man1 Makefile.in for OpenLDAP
+
+MANSECT=1
--- /dev/null
+## Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.
+## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
+##
+## man1 Makefile.in for OpenLDAP
+
+MANSECT=1
--- /dev/null
+## Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.
+## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
+##
+## man1 Makefile.in for OpenLDAP
+
+MANSECT=1
--- /dev/null
+## Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.
+## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
+##
+## man1 Makefile.in for OpenLDAP
+
+MANSECT=1