projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
install documentation into $PREFIX/shared/doc/rrdtool-$VERSION/{txt,html} but
[rrdtool.git]
/
doc
/
Makefile.am
diff --git
a/doc/Makefile.am
b/doc/Makefile.am
index
189c5c5
..
e392cfc
100644
(file)
--- a/
doc/Makefile.am
+++ b/
doc/Makefile.am
@@
-26,10
+26,11
@@
PDF = $(MAN:.1=.pdf)
# what should go into the distribution
EXTRA_DIST= $(POD) $(HTML) $(TXT) rrdtool-dump.dtd rrdtool-xport.dtd
# what should go into the distribution
EXTRA_DIST= $(POD) $(HTML) $(TXT) rrdtool-dump.dtd rrdtool-xport.dtd
-# some install rules
-idocdir = $(prefix)/doc
+# some install rules if the install pat
+DOCPREFIX:=$(shell echo "@prefix@" | grep rrd >/dev/null && echo "rrdtool-@VERSION@/")
+idocdir = $(prefix)/shared/doc/$(DOCPREFIX)txt
idoc_DATA = $(POD) $(TXT)
idoc_DATA = $(POD) $(TXT)
-ihtmldir = $(prefix)/html
+ihtmldir = $(prefix)/
shared/doc/$(DOCPREFIX)
html
ihtml_DATA = $(HTML)
imandir = $(mandir)/man1
iman_DATA = $(MAN)
ihtml_DATA = $(HTML)
imandir = $(mandir)/man1
iman_DATA = $(MAN)