summaryrefslogtreecommitdiff
path: root/doc-build/gnome-doc-common.in
diff options
context:
space:
mode:
Diffstat (limited to 'doc-build/gnome-doc-common.in')
-rw-r--r--doc-build/gnome-doc-common.in48
1 files changed, 0 insertions, 48 deletions
diff --git a/doc-build/gnome-doc-common.in b/doc-build/gnome-doc-common.in
deleted file mode 100644
index 881122d4..00000000
--- a/doc-build/gnome-doc-common.in
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-
-progname=`echo "$0" | sed 's%^.*/%%'`
-
-PROGRAM=gnome-doc-common
-PACKAGE=@PACKAGE@
-VERSION=@VERSION@
-
-prefix=@prefix@
-datadir=@datadir@
-
-# options
-docdir=.
-copy=no
-
-while test $# -gt 0; do
- case "$1" in
- --help)
- echo "usage: $progname [--version|--help]" 1>&2
- exit 1 ;;
- --version)
- echo "$PROGRAM ($PACKAGE) $VERSION"
- exit 0 ;;
- --copy)
- copy=yes
- shift ;;
- -*)
- echo "$progname: unrecognised option '$1'" 1>&2
- echo "usage: $progname [--version|--help]" 1>&2
- exit 1 ;;
- *)
- echo "$progname: too many arguments" 1>&2
- echo "usage: $progname [--version|--help]" 1>&2
- exit 1 ;;
- esac
-done
-
-for file in omf.make xmldocs.make; do
- rm -f $docdir/$file
- if test "$copy" = yes; then
- cp -f $datadir/$PACKAGE/data/$file $docdir/ ||
- exit 1
- else
- ln -sf $datadir/$PACKAGE/data/$file $docdir/ ||
- cp -f $datadir/$PACKAGE/data/$file $docdir/ ||
- exit 1
- fi
-done