1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/asciidoc/asciidoc.conf
3 # Copyright (C) 2009 - 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
13 CONFDIR="$root$sysconfdir/asciidoc"
14 FILTERSDIR="$CONFDIR/filters"
15 DOCBOOKDIR="$CONFDIR/docbook-xsl"
16 CSSDIR="$CONFDIR/stylesheets"
17 ICONSDIR="$CONFDIR/images/icons"
20 # creating directory layout
21 mkdir -pv $BINDIR $CONFDIR $FILTERSDIR $DOCBOOKDIR $CSSDIR $ICONSDIR
22 # copying config files
23 cp -av *.conf $CONFDIR/
25 cp -av filters/code/{code-filter.conf,code-filter.py} $FILTERSDIR/
26 # copying docbook files
27 cp -av docbook-xsl/*.xsl $DOCBOOKDIR/
29 cp -av stylesheets/*.css $CSSDIR/
31 cp -av images/icons/* $ICONSDIR/
33 # copying scripts to BINDIR
34 cp -av asciidoc.py $BINDIR/asciidoc
35 cp -av a2x.py $BINDIR/a2x
39 hook_add postmake 5 "asciidoc_main"