diff options
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r-- | doc/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index e078504..ac63498 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -3,7 +3,7 @@ info_TEXINFOS = libvformat.texi libvformat_TEXINFOS = libvformat-1.texi libvformat-2.texi libvformat-i.texi install-data-hook: - $(mkinstalldirs) $(mandir)/man3 + $(mkinstalldirs) $(DESTDIR)$(mandir)/man3 for i in *.3; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ @@ -11,8 +11,8 @@ install-data-hook: ext=`echo $$i | sed -e 's/^.*\\.//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ - echo " $(INSTALL_DATA) $$file $(mandir)/man3/$$inst"; \ - $(INSTALL_DATA) $$file $(mandir)/man3/$$inst; \ + echo " $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man3/$$inst"; \ + $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man3/$$inst; \ done cp /usr/share/texmf/tex/texinfo/texinfo.tex . |