| 1 | # -sedadmin.inp----------------------------------------------------------- |
| 2 | # Configuration script for admin/unidata/Makefile under DJGPP v2.x |
| 3 | # ---------------------------------------------------------------------- |
| 4 | # |
| 5 | # Copyright (C) 2014 Free Software Foundation, Inc. |
| 6 | # |
| 7 | # This file is part of GNU Emacs. |
| 8 | # |
| 9 | # This file is free software; as a special exception, the author gives |
| 10 | # unlimited permission to copy and/or distribute it, with or without |
| 11 | # modifications, as long as this notice is preserved. |
| 12 | # |
| 13 | # This program is distributed in the hope that it will be useful, |
| 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 16 | # |
| 17 | # ---------------------------------------------------------------------- |
| 18 | /^SHELL *=/s/^/# / |
| 19 | /^srcdir *=/s/@[^@\n]*@/./ |
| 20 | /^top_srcdir *=/s|@[^@\n]*@|../..| |
| 21 | /^top_builddir *=/s|@[^@\n]*@|../..| |
| 22 | |
| 23 | /^ *-if /,/^ *fi/d |
| 24 | /^ *if test -f charprop/,/^ *fi/c\ |
| 25 | rm -f uni-*.el |
| 26 | /^ *if test -f \${DSTDIR/,/^ *fi/c\ |
| 27 | rm -f ${DSTDIR}/uni-*.el ${DSTDIR}/charprop.el |
| 28 | /^ *cp `sed -n/c\ |
| 29 | cp uni-*.el ${DSTDIR} |