summaryrefslogtreecommitdiff
path: root/packages/davfs2/davfs2-0.2.7/Makefile.in.patch
blob: 16b4425f1494cbf31ebdeb9937a660c240040d6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- davfs2-0.2.7/Makefile.in.orig	2006-02-11 16:42:27.000000000 +0100
+++ davfs2-0.2.7/Makefile.in	2006-02-11 16:43:10.000000000 +0100
@@ -13,6 +13,7 @@
 datadir = @datadir@
 sysconfdir = @sysconfdir@/$(PACKAGE_NAME)
 localstatedir = /var/run/$(PROGRAM_NAME)
+docdir = @datadir@/doc/$(PACKAGE_NAME)
 datadir = @datadir@/$(PACKAGE_NAME)
 mandir = @datadir@/man/man8
 
@@ -51,7 +52,7 @@
 
 INSTALL_PROGRAM = @INSTALL_PROGRAM@ -m 4755
 INSTALL_DATA = @INSTALL_DATA@
-INSTALL_SECRETS = @INSTALL_DATA@ -b -m 600
+INSTALL_SECRETS = @INSTALL_DATA@ -m 600
 INSTALL_DIR = @INSTALL@ -d -m 755
 INSTALL = @INSTALL@
 
@@ -67,7 +68,6 @@
 	@echo ""
 
 install: $(PROGRAMS)
-	$(INSTALL) -d -m 1775 -g $(dav_group) $(DESTDIR)$(localstatedir)
 	$(INSTALL_DIR) $(DESTDIR)$(sbindir)
 	for t in $(PROGRAMS); do \
           $(INSTALL_PROGRAM) $(top_builddir)/$$t $(DESTDIR)$(sbindir)/$$t;done
@@ -76,14 +77,13 @@
           $(INSTALL_DATA) $(top_builddir)/$$t $(DESTDIR)$(sysconfdir)/$$t;done
 	for t in $(SECRETS); do \
           $(INSTALL_SECRETS) $(top_builddir)/$$t $(DESTDIR)$(sysconfdir)/$$t;done
-	$(INSTALL_DIR) $(DESTDIR)$(datadir)
+	$(INSTALL_DIR) $(DESTDIR)$(docdir)
 	for t in $(DATA); do \
-          $(INSTALL_DATA) $(top_builddir)/$$t $(DESTDIR)$(datadir)/$$t;done
+          $(INSTALL_DATA) $(top_builddir)/$$t $(DESTDIR)$(docdir)/$$t;done
 	$(INSTALL_DIR) $(DESTDIR)$(mandir)
 	for t in $(MANS); do \
           $(INSTALL_DATA) $(top_builddir)/$$t $(DESTDIR)$(mandir)/$$t;done
 	if [ -L /sbin/$(PROGRAM_NAME) ]; then rm /sbin/$(PROGRAM_NAME); fi
-	ln -s $(DESTDIR)$(sbindir)/$(PROGRAM_NAME) /sbin/$(PROGRAM_NAME) 2> /dev/null
 
 	@echo ""
 	@echo "----------------------------------------------------"