mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-11-26 10:29:27 +08:00
Revert previous commit
Files where already there
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
SUBDIRS = src include doc dist
|
SUBDIRS = src include doc
|
||||||
|
|
||||||
DEFDIR = $(prefix)
|
DEFDIR = $(prefix)
|
||||||
|
|
||||||
|
|||||||
@@ -252,7 +252,6 @@ src/gmdb2/gladefiles/Makefile
|
|||||||
src/gmdb2/pixmaps/Makefile
|
src/gmdb2/pixmaps/Makefile
|
||||||
src/gmdb2/help/Makefile
|
src/gmdb2/help/Makefile
|
||||||
mdbtools.spec
|
mdbtools.spec
|
||||||
dist/Makefile
|
|
||||||
include/mdbver.h])
|
include/mdbver.h])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
dnl doc/reference/libmdb/Makefile])
|
dnl doc/reference/libmdb/Makefile])
|
||||||
|
|||||||
1
dist/Makefile.am
vendored
1
dist/Makefile.am
vendored
@@ -1 +0,0 @@
|
|||||||
EXTRA_DIST = mdbtools.bash-completion mdbtools-gmdb.bash-completion mdbtools-gmdb.desktop
|
|
||||||
12
dist/mdbtools-gmdb.bash-completion
vendored
12
dist/mdbtools-gmdb.bash-completion
vendored
@@ -1,12 +0,0 @@
|
|||||||
#-*- mode: shell-script;-*-
|
|
||||||
have gmdb2 &&
|
|
||||||
_gmdb2()
|
|
||||||
{
|
|
||||||
local cur
|
|
||||||
COMPREPLY=()
|
|
||||||
cur=${COMP_WORDS[COMP_CWORD]}
|
|
||||||
|
|
||||||
_filedir '@(mdb|mdw|accdb)'
|
|
||||||
return 0
|
|
||||||
} &&
|
|
||||||
complete -F _gmdb2 gmdb2
|
|
||||||
13
dist/mdbtools-gmdb.desktop
vendored
13
dist/mdbtools-gmdb.desktop
vendored
@@ -1,13 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Version=1.0
|
|
||||||
Name=MDB Viewer
|
|
||||||
Comment=View and export Microsoft Access databases
|
|
||||||
Keywords=Microsoft;Access;database;SQL;Jet;schema;query;mdb;accdb;
|
|
||||||
Icon=gmdb2
|
|
||||||
TryExec=gmdb2
|
|
||||||
Exec=gmdb2 %f
|
|
||||||
Terminal=false
|
|
||||||
MimeType=application/vnd.ms-access;application/x-msaccess;application/msaccess;application/vnd.msaccess;application/mdb;application/x-mdb;
|
|
||||||
Categories=Office;
|
|
||||||
StartupNotify=true
|
|
||||||
170
dist/mdbtools.bash-completion
vendored
170
dist/mdbtools.bash-completion
vendored
@@ -1,170 +0,0 @@
|
|||||||
#-*- mode: shell-script;-*-
|
|
||||||
have mdb-export &&
|
|
||||||
_mdb_export()
|
|
||||||
{
|
|
||||||
local cur prev
|
|
||||||
COMPREPLY=()
|
|
||||||
cur=${COMP_WORDS[COMP_CWORD]}
|
|
||||||
prev=${COMP_WORDS[COMP_CWORD-1]}
|
|
||||||
|
|
||||||
if [[ "$prev" == -@(d|R|q|X|D|N) ]] ; then
|
|
||||||
return 0
|
|
||||||
elif [[ "$prev" == -I ]] ; then
|
|
||||||
COMPREPLY=( $( compgen -W 'access sybase oracle postgres mysql' -- $cur ) )
|
|
||||||
elif [[ "$cur" == -* ]]; then
|
|
||||||
COMPREPLY=( $( compgen -W '-T -H -d -R -Q -q -X -I -D -N' -- $cur ) )
|
|
||||||
elif [[ "$prev" == *@(mdb|mdw|accdb) ]] ; then
|
|
||||||
local dbname
|
|
||||||
local tablenames
|
|
||||||
dbname=$prev
|
|
||||||
__expand_tilde_by_ref dbname
|
|
||||||
tablenames=$(eval mdb-tables -S -d / "${dbname}" 2>/dev/null)
|
|
||||||
COMPREPLY=( $( IFS=/ compgen -W "${tablenames}" -- $cur ) )
|
|
||||||
else
|
|
||||||
_filedir '@(mdb|mdw|accdb)'
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
} &&
|
|
||||||
complete -F _mdb_export mdb-export
|
|
||||||
|
|
||||||
have mdb-hexdump &&
|
|
||||||
_mdb_hexdump()
|
|
||||||
{
|
|
||||||
local cur
|
|
||||||
COMPREPLY=()
|
|
||||||
cur=${COMP_WORDS[COMP_CWORD]}
|
|
||||||
|
|
||||||
if (( COMP_CWORD == 1 )); then
|
|
||||||
_filedir '@(mdb|mdw|accdb)'
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
} &&
|
|
||||||
complete -F _mdb_hexdump mdb-hexdump
|
|
||||||
|
|
||||||
have mdb-parsecsv &&
|
|
||||||
_mdb_parsecsv()
|
|
||||||
{
|
|
||||||
local cur
|
|
||||||
COMPREPLY=()
|
|
||||||
cur=${COMP_WORDS[COMP_CWORD]}
|
|
||||||
|
|
||||||
if (( COMP_CWORD == 1 )); then
|
|
||||||
_filedir '@(txt|csv)'
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
} &&
|
|
||||||
complete -F _mdb_parsecsv mdb-parsecsv
|
|
||||||
|
|
||||||
have mdb-prop &&
|
|
||||||
_mdb_prop()
|
|
||||||
{
|
|
||||||
local cur
|
|
||||||
|
|
||||||
COMPREPLY=()
|
|
||||||
cur=${COMP_WORDS[COMP_CWORD]}
|
|
||||||
|
|
||||||
if (( COMP_CWORD == 1 )); then
|
|
||||||
_filedir '@(mdb|mdw|accdb)'
|
|
||||||
elif (( COMP_CWORD == 2 )); then
|
|
||||||
local dbname
|
|
||||||
local tablenames
|
|
||||||
dbname=${COMP_WORDS[1]}
|
|
||||||
__expand_tilde_by_ref dbname
|
|
||||||
tablenames=$(eval mdb-tables -S -d / "${dbname}" 2>/dev/null)
|
|
||||||
COMPREPLY=( $( IFS=/ compgen -W "${tablenames}" -- $cur ) )
|
|
||||||
elif (( COMP_CWORD == 3 )); then
|
|
||||||
COMPREPLY=( $( compgen -W 'Lv LvProp LvModule LvExtra' -- $cur ) )
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
} &&
|
|
||||||
complete -F _mdb_prop mdb-prop
|
|
||||||
|
|
||||||
have mdb-schema &&
|
|
||||||
_mdb_schema()
|
|
||||||
{
|
|
||||||
local cur prev
|
|
||||||
|
|
||||||
COMPREPLY=()
|
|
||||||
cur=${COMP_WORDS[COMP_CWORD]}
|
|
||||||
prev=${COMP_WORDS[COMP_CWORD-1]}
|
|
||||||
|
|
||||||
if [[ "$prev" == -@(T|table|N) ]] ; then
|
|
||||||
return 0
|
|
||||||
elif [[ "$cur" == -* ]]; then
|
|
||||||
COMPREPLY=( $( compgen -W '-T --table -N \
|
|
||||||
--drop-table --no-drop-table \
|
|
||||||
--not-null --no-not-null \
|
|
||||||
--default-values --no-default-values \
|
|
||||||
--not-empty --no-not-empty \
|
|
||||||
--indexes --no-indexes \
|
|
||||||
--relations --no-relations' -- $cur ) )
|
|
||||||
elif [[ "$prev" == @(*mdb|*mdw|*accdb) ]]; then
|
|
||||||
COMPREPLY=( $( compgen -W 'access sybase oracle postgres mysql' -- $cur ) )
|
|
||||||
else
|
|
||||||
_filedir '@(mdb|mdw|accdb)'
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
} &&
|
|
||||||
complete -F _mdb_schema mdb-schema
|
|
||||||
|
|
||||||
have mdb-sql &&
|
|
||||||
_mdb_sql()
|
|
||||||
{
|
|
||||||
local cur prev
|
|
||||||
|
|
||||||
COMPREPLY=()
|
|
||||||
cur=${COMP_WORDS[COMP_CWORD]}
|
|
||||||
prev=${COMP_WORDS[COMP_CWORD-1]}
|
|
||||||
|
|
||||||
if [[ "$prev" == -d ]] ; then
|
|
||||||
return 0
|
|
||||||
elif [[ "$prev" == -@(i|o) ]] ; then
|
|
||||||
_filedir
|
|
||||||
elif [[ "$cur" == -* ]]; then
|
|
||||||
COMPREPLY=( $( compgen -W '-H -f -p -d -i -o' -- $cur ) )
|
|
||||||
else
|
|
||||||
_filedir '@(mdb|mdw|accdb)'
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
} &&
|
|
||||||
complete -F _mdb_sql mdb-sql
|
|
||||||
|
|
||||||
have mdb-tables &&
|
|
||||||
_mdb_tables()
|
|
||||||
{
|
|
||||||
local cur prev
|
|
||||||
|
|
||||||
COMPREPLY=()
|
|
||||||
cur=${COMP_WORDS[COMP_CWORD]}
|
|
||||||
prev=${COMP_WORDS[COMP_CWORD-1]}
|
|
||||||
|
|
||||||
if [[ "$prev" == -d ]]; then
|
|
||||||
return 0
|
|
||||||
elif [[ "$prev" == -t ]]; then
|
|
||||||
COMPREPLY=( $( compgen -W 'form table macro systable report query linkedtable module relationship dbprop any all' -- $cur ) )
|
|
||||||
return 0
|
|
||||||
elif [[ "$cur" == -* ]]; then
|
|
||||||
COMPREPLY=( $( compgen -W '-S -1 -d -t' -- $cur ) )
|
|
||||||
else
|
|
||||||
_filedir '@(mdb|mdw|accdb)'
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
} &&
|
|
||||||
complete -F _mdb_tables mdb-tables
|
|
||||||
|
|
||||||
have mdb-ver &&
|
|
||||||
_mdb_ver()
|
|
||||||
{
|
|
||||||
local cur
|
|
||||||
|
|
||||||
COMPREPLY=()
|
|
||||||
cur=${COMP_WORDS[COMP_CWORD]}
|
|
||||||
|
|
||||||
if [[ "$cur" == -* ]]; then
|
|
||||||
COMPREPLY=( $( compgen -W '-M' -- $cur ) )
|
|
||||||
else
|
|
||||||
_filedir '@(mdb|mdw|accdb)'
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
} &&
|
|
||||||
complete -F _mdb_ver mdb-ver
|
|
||||||
Reference in New Issue
Block a user