summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
blob: d61c637ff7cf1dc941aa512e2b67c3785d28c8d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# No automatisation found. Write me if any idea.
info_TEXINFOS = libvformat.texi
libvformat_TEXINFOS = libvformat-1.texi libvformat-2.texi libvformat-i.texi

install-data-hook:
	$(mkinstalldirs) $(DESTDIR)$(mandir)/man3

	for i in *.3; do \
	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
	  else file=$$i; fi; \
	  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 $(DESTDIR)$(mandir)/man3/$$inst"; \
	  $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man3/$$inst; \
	done

	if test -f /usr/share/texmf/tex/texinfo/texinfo.tex; then cp /usr/share/texmf/tex/texinfo/texinfo.tex .; fi