Makefile.am 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. ## Process this file with automake to get Makefile.in
  2. info_TEXINFOS = tinc.texi
  3. man_MANS = tincd.8 tinc.8 tinc.conf.5 tinc-gui.8
  4. EXTRA_DIST = tincinclude.texi.in tincd.8.in tinc.8.in tinc.conf.5.in tinc-gui.8.in sample-config.tar.gz
  5. CLEANFILES = *.html tincd.8 tinc.8 tinc.conf.5 tinc-gui.8 tincinclude.texi
  6. # Use `ginstall' in the definition of man_MANS to avoid
  7. # confusion with the `install' target. The install rule transforms `ginstall'
  8. # to install before applying any user-specified name transformations.
  9. transform = s/ginstall/install/; @program_transform_name@
  10. # For additional rules usually of interest only to the maintainer,
  11. # see GNUmakefile and Makefile.maint.
  12. sample-config.tar.gz: sample-config
  13. GZIP=$(GZIP_ENV) $(AMTAR) chozf sample-config.tar.gz --exclude .svn sample-config
  14. tincd.8.html: tincd.8
  15. w3mman2html $? > $@
  16. tinc.8.html: tinc.8
  17. w3mman2html $? > $@
  18. tinc-gui.8.html: tinc-gui.8
  19. w3mman2html $? > $@
  20. tinc.conf.5.html: tinc.conf.5
  21. w3mman2html $? > $@
  22. substitute = sed \
  23. -e s,'@PACKAGE\@',"$(PACKAGE)",g \
  24. -e s,'@VERSION\@',"$(VERSION)",g \
  25. -e s,'@sysconfdir\@',"$(sysconfdir)",g \
  26. -e s,'@localstatedir\@',"$(localstatedir)",g
  27. tincd.8: tincd.8.in
  28. $(substitute) $? > $@
  29. tinc.8: tinc.8.in
  30. $(substitute) $? > $@
  31. tinc-gui.8: tinc-gui.8.in
  32. $(substitute) $? > $@
  33. tinc.conf.5: tinc.conf.5.in
  34. $(substitute) $? > $@
  35. tincinclude.texi: tincinclude.texi.in
  36. $(substitute) $? > $@
  37. tinc.texi: tincinclude.texi