mirror of
https://github.com/aria2/aria2.git
synced 2025-01-01 07:36:24 +00:00
Honor DESTDIR when installing HTML version manual.
Generate HTML version manual on `make install`.
This commit is contained in:
parent
a998e32f95
commit
5323fa1029
@ -15,11 +15,11 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
||||
man_MANS = $(BUILDDIR)/man/aria2c.1
|
||||
HTML = $(BUILDDIR)/html
|
||||
EXTRA_DIST = $(man_MANS) $(HTML)
|
||||
HTMLINSTALLDIR = $(docdir)/manual/en
|
||||
HTMLINSTALLDIR = $(DESTDIR)$(docdir)/manual/en
|
||||
|
||||
# Copy $(BUILDDIR)/html recursively to the install dir. Since Automake
|
||||
# does not provide this feature, we do it ourselves.
|
||||
install-data-local:
|
||||
install-data-local: $(HTML)
|
||||
mkdir -p $(HTMLINSTALLDIR) && \
|
||||
cp -r $(BUILDDIR)/html $(HTMLINSTALLDIR) && \
|
||||
rm -f $(HTMLINSTALLDIR)/html/.buildinfo
|
||||
|
@ -16,11 +16,11 @@ mandir = @mandir@/ru
|
||||
man_MANS = $(BUILDDIR)/man/aria2c.1
|
||||
HTML = $(BUILDDIR)/html
|
||||
EXTRA_DIST = $(man_MANS) $(HTML)
|
||||
HTMLINSTALLDIR = $(docdir)/manual/ru
|
||||
HTMLINSTALLDIR = $(DESTDIR)$(docdir)/manual/ru
|
||||
|
||||
# Copy $(BUILDDIR)/html recursively to the install dir. Since Automake
|
||||
# does not provide this feature, we do it ourselves.
|
||||
install-data-local:
|
||||
install-data-local: $(HTML)
|
||||
mkdir -p $(HTMLINSTALLDIR) && \
|
||||
cp -r $(BUILDDIR)/html $(HTMLINSTALLDIR) && \
|
||||
rm -f $(HTMLINSTALLDIR)/html/.buildinfo
|
||||
|
Loading…
Reference in New Issue
Block a user