equal
deleted
inserted
replaced
65 [ -d ${MANDIR}/man1 ] || mkdir -m 0755 -p ${MANDIR}/man1 |
65 [ -d ${MANDIR}/man1 ] || mkdir -m 0755 -p ${MANDIR}/man1 |
66 install -m 0644 ${INSTALL_OPTS} man1/vmm.1 ${MANDIR}/man1 |
66 install -m 0644 ${INSTALL_OPTS} man1/vmm.1 ${MANDIR}/man1 |
67 |
67 |
68 [ -d ${MANDIR}/man5 ] || mkdir -m 0755 -p ${MANDIR}/man5 |
68 [ -d ${MANDIR}/man5 ] || mkdir -m 0755 -p ${MANDIR}/man5 |
69 install -m 0644 ${INSTALL_OPTS} man5/vmm.cfg.5 ${MANDIR}/man5 |
69 install -m 0644 ${INSTALL_OPTS} man5/vmm.cfg.5 ${MANDIR}/man5 |
70 |
|
71 for l in $(find . -maxdepth 1 -mindepth 1 -type d \! -name man\?) |
|
72 do |
|
73 for s in man1 man5; do |
|
74 [ -d ${MANDIR}/${l}/${s} ] || mkdir -m 0755 -p ${MANDIR}/${l}/${s} |
|
75 done |
|
76 if [ -f ${l}/man1/vmm.1 ]; then |
|
77 install -m 0644 ${INSTALL_OPTS} ${l}/man1/vmm.1 ${MANDIR}/${l}/man1 |
|
78 fi |
|
79 if [ -f ${l}/man5/vmm.cfg.5 ]; then |
|
80 install -m 0644 ${INSTALL_OPTS} ${l}/man5/vmm.cfg.5 ${MANDIR}/${l}/man5 |
|
81 fi |
|
82 done |
|
83 cd - >/dev/null |
70 cd - >/dev/null |
84 |
71 |
85 [ -d ${DOC_DIR} ] || mkdir -m 0755 -p ${DOC_DIR} |
72 [ -d ${DOC_DIR} ] || mkdir -m 0755 -p ${DOC_DIR} |
86 for DOC in ${DOCS}; do |
73 for DOC in ${DOCS}; do |
87 install -m 0644 ${INSTALL_OPTS} ${DOC} ${DOC_DIR} |
74 install -m 0644 ${INSTALL_OPTS} ${DOC} ${DOC_DIR} |