summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ca91fe1)
raw | patch | inline | side by side (parent: ca91fe1)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 11 Jun 2005 06:17:02 +0000 (06:17 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 11 Jun 2005 06:17:02 +0000 (06:17 +0000) |
install in share and not shared
drop index.html link
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@631 a5681a0c-68f1-0310-ab6d-d61299d08faa
drop index.html link
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@631 a5681a0c-68f1-0310-ab6d-d61299d08faa
doc/Makefile.am | patch | blob | history |
diff --git a/doc/Makefile.am b/doc/Makefile.am
index a4de36cd326648ee5a82d9ed33ebd927456fbed3..c176fad75d20387730ff8da76a2673f0e8773697 100644 (file)
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
PDF = $(MAN:.1=.pdf)
# what should go into the distribution
-EXTRA_DIST= $(POD) $(HTML) $(TXT) rrdtool-dump.dtd rrdtool-xport.dtd
+EXTRA_DIST= $(POD) $(HTML) $(MAN) $(TXT) rrdtool-dump.dtd rrdtool-xport.dtd
# some install rules if the install pat
-DOCPREFIX:=$(shell echo "@prefix@" | grep rrd >/dev/null && echo "rrdtool-@VERSION@/")
-idocdir = $(prefix)/shared/doc/$(DOCPREFIX)txt
+DOCPREFIX:=$(shell echo "@prefix@" | grep rrd >/dev/null || echo "rrdtool-@VERSION@/")
+idocdir = $(prefix)/share/doc/$(DOCPREFIX)txt
idoc_DATA = $(POD) $(TXT)
-ihtmldir = $(prefix)/shared/doc/$(DOCPREFIX)html
+ihtmldir = $(prefix)/share/doc/$(DOCPREFIX)html
ihtml_DATA = $(HTML)
imandir = $(mandir)/man1
iman_DATA = $(MAN)
pod2man --release=$(VERSION) --center=rrdtool $< > $@
.1.txt:
- @NROFF@ -man -Tlp $< > $@
+ GROFF_NO_SGR=1 @NROFF@ -man -Tlp $< > $@
.1.pdf:
@TROFF@ -man $< | ps2pdf - $@
RRDp.pod:
ln -s $(top_srcdir)/bindings/perl-piped/RRDp.pm RRDp.pod
-index.html:
- rm -f index.html; ln -s rrdtool.html index.html
-
-link: RRDp.pod RRDs.pod index.html
+link: RRDp.pod RRDs.pod
man: $(MAN)
pdf-local: $(PDF)
pod: $(POD)
+
+