Commit d62f53c6 authored by Eric  DEVEAUD's avatar Eric DEVEAUD

port to BIODOCS.yaml

parent 060e575d
NAM=biodocs2mongo
PREFIX=/local/gensoft2/adm
BIN=$(PREFIX)/bin
PYMODULEDIR=$(PREFIX)/share/gensoft/pymodules
DAT=$(PREFIX)/share/gensoft/$(NAM)
build:
sed -i -e 's,^\#!.*python,\#! /local/gensoft2/adm/bin/python,' *.py
sed -e 's|^DAT=.*|DAT="$(DAT)"|' \
-e 's|^PYMODULEDIR=.*|PYMODULEDIR="$(PYMODULEDIR)"|' $(NAM).py > $(NAM)
install: build
test -d $(DAT) || mkdir -p $(DAT)
install -m 0775 $(NAM) $(BIN)
install -m 0664 config.cfg $(DAT)
$(MAKE) clean
clean:
rm -f $(NAM)
rm -f *.pyc
uninstall:
rm -f $(BIN)/$(NAM) $(DAT)/*
rm -rf $(DAT)
This diff is collapsed.
[DEFAULT]
ID_SEPARATOR: @
VERBOSE: 1
[MOBYLE]
MOBYLEURL: http://mobyle.pasteur.fr
[MONGO]
HOST: bioweb-prod.web.pasteur.fr
PORT: 27017
DB: bioweb
COL: catalog
JOURNALING: True
WRITECONCERN: 1
[BIODOCS]
BIODOCS_FILE: BIODOCS.yaml
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment