summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-02-10 20:06:08 +0100
committerGravatar Nikias Bassen2013-02-10 20:06:08 +0100
commitd3a53b82aa57f5090d95b69e6f567b06eb544df9 (patch)
tree953480ca4db7109376a6ca422971bd6481efcc78 /doc
downloadlibvformat-d3a53b82aa57f5090d95b69e6f567b06eb544df9.tar.gz
libvformat-d3a53b82aa57f5090d95b69e6f567b06eb544df9.tar.bz2
initial commit of 1.13 sources
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 0000000..57591c5
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1,16 @@
+# No automatisation found. Write me if any idea.
+
+install-data-hook:
+ c2man -P "gcc -E -C -I.." ../vformat/vf_iface.h
+
+ $(mkinstalldirs) $(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 $(mandir)/man3/$$inst"; \
+ $(INSTALL_DATA) $$file $(mandir)/man3/$$inst; \
+ done