summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 861bee7)
raw | patch | inline | side by side (parent: 861bee7)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 3 May 2005 18:10:16 +0000 (18:10 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 3 May 2005 18:10:16 +0000 (18:10 +0000) |
drop the rrdtool-$VERSION/ bit if $PREFIX matches on rrd assuming that the tool is being installed into a custom directory anyway.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@482 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@482 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/doc/Makefile.am | patch | blob | history |
index 189c5c5e9e880bc62c9951b9bd94aeba76bbefac..e392cfc09357b1c1ae999ea4d49efd04b5bd2682 100644 (file)
--- a/program/doc/Makefile.am
+++ b/program/doc/Makefile.am
# 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)
-ihtmldir = $(prefix)/html
+ihtmldir = $(prefix)/shared/doc/$(DOCPREFIX)html
ihtml_DATA = $(HTML)
imandir = $(mandir)/man1
iman_DATA = $(MAN)