Browse Source

* deleted harmcoded asciidoc.conf

git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21544 10447126-35f2-4685-b0cf-6dd780d3921f
early
Alejandro Mery 18 years ago
parent
commit
face1e8519
  1. 44
      textproc/asciidoc/asciidoc.conf

44
textproc/asciidoc/asciidoc.conf

@ -1,44 +0,0 @@
# --- 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
Loading…
Cancel
Save