pgloader/Makefile
dim 8ed1e0ff2c New version of pgloader (2.0.2):
* 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
2006-11-19 21:18:42 +00:00

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)