makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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 apt-mark.ja.8
  14. INCLUDES = apt.ent
  15. doc: $(SOURCE)
  16. clean: clean-manpages
  17. clean-manpages:
  18. rm -f $(SOURCE) \
  19. $(patsubst %.ja.1,%.1,$(SOURCE)) \
  20. $(patsubst %.ja.5,%.5,$(SOURCE)) \
  21. $(patsubst %.ja.8,%.8,$(SOURCE))
  22. $(SOURCE) :: % : %.xml $(INCLUDES)
  23. echo Creating man page $@
  24. $(XSLTPROC) -o $@ $(STYLESHEET) $<
  25. apt-cache.ja.8:: apt-cache.8
  26. cp $< $@
  27. apt-get.ja.8:: apt-get.8
  28. cp $< $@
  29. apt-cdrom.ja.8:: apt-cdrom.8
  30. cp $< $@
  31. apt.conf.ja.5:: apt.conf.5
  32. cp $< $@
  33. apt-config.ja.8:: apt-config.8
  34. cp $< $@
  35. sources.list.ja.5:: sources.list.5
  36. cp $< $@
  37. apt-sortpkgs.ja.1:: apt-sortpkgs.1
  38. cp $< $@
  39. apt-ftparchive.ja.1:: apt-ftparchive.1
  40. cp $< $@
  41. apt_preferences.ja.5:: apt_preferences.5
  42. cp $< $@
  43. apt-extracttemplates.ja.1:: apt-extracttemplates.1
  44. cp $< $@
  45. apt-key.ja.8:: apt-key.8
  46. cp $< $@
  47. apt-secure.ja.8:: apt-secure.8
  48. cp $< $@
  49. apt-mark.ja.8:: apt-mark.8
  50. cp $< $@