summaryrefslogtreecommitdiff
blob: 6cf6c32e0420ef41e0d0d15091ddbbee4d2e9eaf (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
--- makefile.in.orig	2005-09-21 22:20:28.000000000 -0400
+++ makefile.in	2005-09-21 22:20:39.000000000 -0400
@@ -3,6 +3,7 @@
 LDFLAGS	= @LDFLAGS@
 LIBS  = @X_PRE_LIBS@ @X_LIBS@ @LIBS@ @X_EXTRA_LIBS@
 prefix = @prefix@
+export infodir = @infodir@
 BINDIR        = $(prefix)/bin
 LIBLOC        = $(prefix)/lib/logo
 MAKE = @MAKE@
--- docs/makefile.orig	2005-09-21 22:40:04.000000000 -0400
+++ docs/makefile	2005-09-21 22:41:55.000000000 -0400
@@ -1,6 +1,14 @@
 BUILDIR	      = `pwd`
+ifdef infodir
+INFODIR	      = $(infodir)
+else
 INFODIR	      = $(prefix)/info
-DOCSDIR	      = $(LIBLOC)/docs
+endif
+ifdef PF
+DOCSDIR	      = $(prefix)/share/doc/$(PF)
+else
+DOCSDIR	      = $(prefix)/share/doc/logo
+endif
 HTMLDIR	      = $(DOCSDIR)/html
 
 all: usermanual.ps usermanual.pdf html/usermanual_1.html ucblogo.info