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

25 lines
932 B
Diff
Raw Normal View History

--- ldap-account-manager-3.3.0.orig/Makefile.in 2011-02-12 16:36:45.000000000 +0100
+++ ldap-account-manager-3.3.0/Makefile.in 2011-03-15 15:48:16.021819782 +0100
@@ -24,7 +24,7 @@
sysconfdir=@sysconfdir@
localstatedir=@localstatedir@
mandir=@mandir@
-htmldir=@prefix@/html
+htmldir=@datadir@/doc/html/lam
web_root=@WEB_ROOT@
srcdir=@srcdir@
@@ -73,9 +73,9 @@
(cd $(DESTDIR)$(sysconfdir) ; $(TAR) xf -) ; \
$(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)$(htmldir) ] || \
+ $(MKDIR) -p $(DESTDIR)$(htmldir) || exit 1 ; \
+ (cd $(srcdir) ; $(COPY) $(DOCS) $(DESTDIR)$(htmldir)) ; \
$(PERL) -pi -e "s~/usr/bin/perl~$(PERL)~" \
$(DESTDIR)$(web_root)/lib/lamdaemon.pl ; \
cd $${HERE} ; \