This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
2008-12-05 01:12:49 +01:00
|
|
|
PREFIX=M4_PREFIX
|
|
|
|
BIN_DIR=M4_BINDIR
|
|
|
|
DATA_DIR=M4_DATADIR
|
|
|
|
PY_DIR=M4_PYDIR
|
|
|
|
DOC_DIR=M4_DOCDIR
|
|
|
|
|
|
|
|
SCRIPTS_DIR=${DATA_DIR}/laydi/scripts/
|
|
|
|
|
|
|
|
install: install_laydi install_doc
|
|
|
|
|
|
|
|
install_laydi:
|
|
|
|
## Install binary files
|
2008-12-05 23:07:56 +01:00
|
|
|
install -m 755 -D bin/laydi ${BIN_DIR}/laydi
|
2008-12-05 01:12:49 +01:00
|
|
|
install -m 755 -D bin/dataset ${BIN_DIR}/dataset
|
|
|
|
|
|
|
|
## Install library files
|
2008-12-05 23:07:56 +01:00
|
|
|
find laydi/ -type f -name '*.py' -exec install -m 644 -D {} ${PY_DIR}/{} \;
|
|
|
|
find laydi/ -type f -name '*.glade' -exec install -m 644 -D {} ${PY_DIR}/{} \;
|
2008-12-05 01:12:49 +01:00
|
|
|
|
|
|
|
## Install icons
|
|
|
|
find icons/ -type f -name '*.png' -exec install -m 644 -D {} ${DATA_DIR}/{} \;
|
|
|
|
|
|
|
|
install_scripts:
|
|
|
|
find scripts/ -type f -exec install -D {} ${SCRIPTS_DIR}/{} \;
|
|
|
|
|
|
|
|
install_doc:
|
|
|
|
DOC_DIR=${DOC_DIR}/ make -C doc install
|
|
|
|
install -m 644 README ${DOC_DIR}/
|
|
|
|
install -m 644 LICENSE ${DOC_DIR}/
|
|
|
|
|