OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.3 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../asciidoc/asciidoc.conf
  5. # Copyright (C) 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This program is free software; you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation; version 2 of the License. A copy of the
  12. # GNU General Public License can be found in the file COPYING.
  13. # --- T2-COPYRIGHT-NOTE-END ---
  14. asciidoc_main () {
  15. CONFDIR="$root/$sysconfdir/asciidoc"
  16. FILTERSDIR="$CONFDIR/filters"
  17. DOCBOOKDIR="$CONFDIR/docbook-xsl"
  18. CSSDIR="$CONFDIR/stylesheets"
  19. ICONSDIR="$CONFDIR/images/icons"
  20. BINDIR="$root/$bindir"
  21. # creating directory layout
  22. mkdir -pv $BINDIR $CONFDIR $FILTERSDIR $DOCBOOKDIR $CSSDIR $ICONSDIR
  23. # copying config files
  24. cp -av *.conf $CONFDIR
  25. # copying filters
  26. cp -av filters/{code-filter.conf,code-filter.py} $FILTERSDIR
  27. # copying docbook files
  28. cp -av docbook-xsl/*.xsl $DOCBOOKDIR
  29. # copying CSS files
  30. cp -av stylesheets/*.css $CSSDIR
  31. # copyng icons
  32. cp -av images/icons/* $ICONSDIR
  33. # copying scripts to BINDIR
  34. cp -av asciidoc.py $BINDIR/asciidoc
  35. cp -av a2x $BINDIR
  36. # copying man pages
  37. cp -av doc/*.1 $root/$mandir/man1
  38. }
  39. custmain=asciidoc_main