Remove doc/es/ and src/device.c from the distribution.
[tinc] / doc / Makefile.am
index b62feb7..c3b209f 100644 (file)
@@ -1,7 +1,5 @@
 ## Process this file with automake to get Makefile.in
 
-SUBDIRS = es
-
 info_TEXINFOS = tinc.texi
 
 dyn_MANS =
@@ -23,3 +21,14 @@ transform = s/ginstall/install/; @program_transform_name@
 
 # For additional rules usually of interest only to the maintainer,
 # see GNUmakefile and Makefile.maint.
+
+tinc.pdf: tinc.texi
+       texi2pdf -o tinc.pdf tinc.texi
+
+texi2html: tinc.texi
+       mkdir -p html
+       rm -f html/*.html
+       cd html && texi2html -split=chapter ../tinc.texi
+
+%.html: %
+       w3mman2html $< > $@