makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # -*- make -*-
  2. BASE=../..
  3. SUBDIR=doc/ja
  4. # Bring in the default rules
  5. include ../../buildlib/defaults.mak
  6. # Do not use XMLTO, build the manpages directly with XSLTPROC
  7. XSLTPROC=/usr/bin/xsltproc
  8. STYLESHEET=./style.ja.xsl
  9. # Man pages
  10. SOURCE = apt-cache.ja.8 apt-get.ja.8 apt-cdrom.ja.8 apt.conf.ja.5 \
  11. sources.list.ja.5 apt-config.ja.8 apt-sortpkgs.ja.1 \
  12. apt-ftparchive.ja.1 apt_preferences.ja.5 apt-extracttemplates.ja.1 \
  13. apt-key.ja.8 apt-secure.ja.8
  14. INCLUDES = apt.ent.ja
  15. doc: $(SOURCE)
  16. $(SOURCE) :: % : %.xml $(INCLUDES)
  17. echo Creating man page $@
  18. $(XSLTPROC) -o $@ $(STYLESHEET) $<
  19. apt-cache.ja.8:: apt-cache.8
  20. cp $< $@
  21. apt-get.ja.8:: apt-get.8
  22. cp $< $@
  23. apt-cdrom.ja.8:: apt-cdrom.8
  24. cp $< $@
  25. apt.conf.ja.5:: apt.conf.5
  26. cp $< $@
  27. apt-config.ja.8:: apt-config.8
  28. cp $< $@
  29. sources.list.ja.5:: sources.list.5
  30. cp $< $@
  31. apt-sortpkgs.ja.1:: apt-sortpkgs.1
  32. cp $< $@
  33. apt-ftparchive.ja.1:: apt-ftparchive.1
  34. cp $< $@
  35. apt_preferences.ja.5:: apt_preferences.5
  36. cp $< $@
  37. apt-extracttemplates.ja.1:: apt-extracttemplates.1
  38. cp $< $@
  39. apt-key.ja.8:: apt-key.8
  40. cp $< $@
  41. apt-secure.ja.8:: apt-secure.8
  42. cp $< $@