ldap-account-manager/ldap-account-manager-7.7-installdirs.patch

16 lines
758 B
Diff
Raw Normal View History

--- ldap-account-manager-7.7/Makefile.in.orig 2021-12-07 16:20:53.972739309 +0100
+++ ldap-account-manager-7.7/Makefile.in 2021-12-07 16:22:41.201671545 +0100
@@ -74,9 +74,9 @@
(cd $(DESTDIR)$(sysconfdir) ; $(TAR) xf -) ; \
[ -e ${LIST3} ] || $(LN_S) $(sysconfdir) ${LIST3} ; \
(cd $(srcdir) ; $(TAR) cf - $(LIST1)) | $(TAR) xf - ; \
- [ -d $(DESTDIR)$(prefix)/docs ] || \
- $(MKDIR) -p $(DESTDIR)$(prefix)/docs || exit 1 ; \
- (cd $(srcdir) ; $(COPY) $(DOCS) $(DESTDIR)$(prefix)/docs) ; \
+ [ -d $(DESTDIR)$(docdir) ] || \
+ $(MKDIR) -p $(DESTDIR)$(docdir) || exit 1 ; \
+ (cd $(srcdir) ; $(COPY) $(DOCS) $(DESTDIR)$(docdir)) ; \
$(PERL) -pi -e "s~/usr/bin/perl~$(PERL)~" \
$(DESTDIR)$(web_root)/lib/lamdaemon.pl ; \
cd $${HERE} ; \