mirror of
https://github.com/dimitri/pgloader.git
synced 2026-03-12 07:31:02 +01:00
* new developpers * python code replaces tcl code * one config file for many tables (one command line for loading them all) * manpage * debian package * supports multi-line input file (without quotes) * Informix large objects support (loading to TEXT or BYTEA) * configurable amount of rows per COPY instruction * trailing slash optionnal removal (support informix UNLOAD file format) * begin processing at any line in the file, by number or row id * dry-run option, to validate input reading without connecting to database * pedantic option, to stop processing on warning
24 lines
467 B
Makefile
24 lines
467 B
Makefile
DOCS = pgloader.1.sgml
|
|
GARBAGE = manpage.links manpage.refs
|
|
|
|
# debian setting
|
|
DESTDIR =
|
|
|
|
libdir = $(DESTDIR)/usr/share/pgloader
|
|
exdir = $(DESTDIR)/usr/share/doc/pgloader
|
|
|
|
pgloader = pgloader.py
|
|
examples = examples
|
|
libs = $(wildcard pgloader/*.py)
|
|
|
|
install:
|
|
install -m 755 $(pgloader) $(libdir)
|
|
install -m 755 -d $(libdir)/pgloader
|
|
|
|
cp -a $(libs) $(libdir)/pgloader
|
|
cp -a $(examples) $(exdir)
|
|
|
|
man: $(DOCS)
|
|
docbook2man $(DOCS) 2>/dev/null
|
|
-rm -f $(GARBAGE)
|