|
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
#
|
|
# T2 SDE: package/.../asciidoc/asciidoc.conf
|
|
# Copyright (C) 2006 The T2 SDE Project
|
|
#
|
|
# More information can be found in the files COPYING and README.
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; version 2 of the License. A copy of the
|
|
# GNU General Public License can be found in the file COPYING.
|
|
# --- T2-COPYRIGHT-NOTE-END ---
|
|
|
|
asciidoc_main () {
|
|
CONFDIR="$root/$sysconfdir/asciidoc"
|
|
FILTERSDIR="$CONFDIR/filters"
|
|
DOCBOOKDIR="$CONFDIR/docbook-xsl"
|
|
CSSDIR="$CONFDIR/stylesheets"
|
|
ICONSDIR="$CONFDIR/images/icons"
|
|
BINDIR="$root/$bindir"
|
|
|
|
# creating directory layout
|
|
mkdir -pv $BINDIR $CONFDIR $FILTERSDIR $DOCBOOKDIR $CSSDIR $ICONSDIR
|
|
# copying config files
|
|
cp -av *.conf $CONFDIR
|
|
# copying filters
|
|
cp -av filters/{code-filter.conf,code-filter.py} $FILTERSDIR
|
|
# copying docbook files
|
|
cp -av docbook-xsl/*.xsl $DOCBOOKDIR
|
|
# copying CSS files
|
|
cp -av stylesheets/*.css $CSSDIR
|
|
# copyng icons
|
|
cp -av images/icons/* $ICONSDIR
|
|
|
|
# copying scripts to BINDIR
|
|
cp -av asciidoc.py $BINDIR/asciidoc
|
|
cp -av a2x $BINDIR
|
|
|
|
# copying man pages
|
|
cp -av doc/*.1 $root/$mandir/man1
|
|
}
|
|
|
|
custmain=asciidoc_main
|