aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/argus/files/patch-aa
blob: edc4220b650120990f736bbe40e45b77b7757740 (plain) (blame)
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
45
--- Makefile.in.orig	Sun Apr  8 17:17:01 2001
+++ Makefile.in	Sun Apr  8 17:40:11 2001
@@ -60,7 +60,7 @@
 # Pathname of directory to install the man page
 MANDEST = @mandir@
 # Pathname of directory to install the docs
-DOCDIR = /usr/share/doc/argus-2.0
+DOCDIR = ${prefix}/share/doc/argus-2.0
 
 # VPATH
 srcdir = @srcdir@
@@ -127,15 +127,6 @@
 	[ -d $(DESTDIR)/argus/archive ] || \
 		(mkdir -p $(DESTDIR)/argus/archive; chmod 755 $(DESTDIR)/argus/archive)
 
-	[ -d $(DOCDIR) ] || \
-		(mkdir -p $(DOCDIR); chmod 755 $(DOCDIR))
-
-	[ -d $(DOCDIR)/html ] || \
-		(mkdir -p $(DOCDIR)/html; chmod 755 $(DOCDIR)/html)
-
-	[ -d $(DOCDIR)/html/man ] || \
-		(mkdir -p $(DOCDIR)/html/man; chmod 755 $(DOCDIR)/html/man)
-
 	[ -d /var/log/argus ] || \
 		(mkdir -p /var/log/argus; chmod 755 /var/log/argus)
 
@@ -148,17 +139,9 @@
 		fi; \
 	done
 
-	$(INSTALL) -m 0644 $(srcdir)/doc/CHANGES $(DOCDIR)
-	$(INSTALL) -m 0644 $(srcdir)/doc/FAQ $(DOCDIR)
-	$(INSTALL) -m 0644 $(srcdir)/doc/HOW-TO $(DOCDIR)
-	$(INSTALL) -m 0644 $(srcdir)/doc/html/man/*.html $(DOCDIR)/html/man
-
 	$(INSTALL) -m 0644 $(srcdir)/README $(DESTDIR)/argus
-	$(INSTALL) -m 0644 $(srcdir)/README $(DOCDIR)
 	$(INSTALL) -m 0644 $(srcdir)/LICENSE $(DESTDIR)/argus
-	$(INSTALL) -m 0644 $(srcdir)/LICENSE $(DOCDIR)
 	$(INSTALL) -m 0644 $(srcdir)/COPYRIGHT $(DESTDIR)/argus
-	$(INSTALL) -m 0644 $(srcdir)/COPYRIGHT $(DOCDIR)
 
 	$(INSTALL) -m 0755 $(srcdir)/bin/argusbug $(BINDIR)/argusbug
 	$(INSTALL) -m 0755 $(srcdir)/support/Archive/argusarchive $(BINDIR)/argusarchive