#!/bin/bash

find -name Makefile | xargs perl -pi -e 's(\/usr\/local\/etc\/mktdir\/)(a2e/)g;s(\bmktdir\_inst\_defs\b)(install)g;s(\/mktdir\_deplate\.mk)(/defs.mk)g;s(\binst\_defs\b)(install)g;s(\bmktdir\_(defs|install)\b)($1)g;s(\bmktdir\_deplate\b)(defs)g;s(mktdir\_\$\{CONV\})(defs)g;s(\/deplate\.mk\b)(/defs.mk)g;s(\/usr\/local\/(bin|sbin)\b)(/opt/a2e/$1)g';
find -name '@[dn][oa][kv].*.txt' | xargs perl -pi -e 's(\]\;\s*\Z)(]\n)g'

# Local Variables:
# coding: utf-8
# srcfile:/sig/adv/prg/mktdir_include_repl.sh
# End:
