diff options
author | Mathias Palm | 2013-02-10 20:13:03 +0100 |
---|---|---|
committer | Nikias Bassen | 2013-02-10 20:13:03 +0100 |
commit | fe8858c4e913993a45e9df5874dea75f9478819f (patch) | |
tree | 12c98685c31c466db7baea045db523a55c78b05d /doc/Makefile.am | |
parent | 20657046e72476669977197fbbad634b9110c4b8 (diff) | |
download | libvformat-fe8858c4e913993a45e9df5874dea75f9478819f.tar.gz libvformat-fe8858c4e913993a45e9df5874dea75f9478819f.tar.bz2 |
Add manpages
Provides manpages instead of generating them from c2man as c2man is deprecated.
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 . |