summaryrefslogtreecommitdiff
path: root/net/ettercap/files/patch-aa
blob: 69e654f6b6959059544476ad9dd4c0c227676d82 (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
--- Makefile.in.orig	Fri Mar  9 03:49:52 2001
+++ Makefile.in	Fri Mar  9 22:45:22 2001
@@ -12,7 +12,7 @@
 
 BINDIR   = @bindir@
 MANDIR   = @mandir@
-DOCDIR   = ${prefix}/doc/@PROG@-@VERSION@
+DOCDIR   = ${prefix}/share/doc/@PROG@-@VERSION@
 DOC      = COPYING README README.PLUGINS CHANGELOG HISTORY AUTHORS TODO THANKS KNOWN-BUGS PORTINGS
 
 DEBUG    = @DEBUG@
@@ -39,11 +39,12 @@
 install: @PROG@ strip
 	$(INSTALL) -d $(DESTDIR)$(BINDIR)
 	$(INSTALL) -m 700 $(PROG) $(DESTDIR)$(BINDIR)
-	$(INSTALL) -d $(DESTDIR)$(DOCDIR)
-	$(INSTALL) -m 644 $(DOC) $(DESTDIR)$(DOCDIR)
 	$(INSTALL) -d $(DESTDIR)$(MANDIR)/man8
 	$(INSTALL) -m 644 $(PROG).8 $(DESTDIR)$(MANDIR)/man8/$(PROG).8
 
+install-doc:
+	$(INSTALL) -d $(DESTDIR)$(DOCDIR)
+	$(INSTALL) -m 644 $(DOC) $(DESTDIR)$(DOCDIR)
 
 plug-ins:
 	cd plugins && make && cd ..