summaryrefslogtreecommitdiffstats
path: root/editors/wemi-emacs/scripts/configure
blob: 04796ae5df8735c8de62c3db4c19c5b6da205ac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

for i in ${TARGETS}
do
	if [ -f ${WRKDIR}/${i}.in ]; then
	cat ${WRKDIR}/${i}.in | /usr/bin/sed \
		-e "s;@@PREFIX@@;${PREFIX};g" \
		-e "s;@@EMACS_LIBDIR@@;${EMACS_LIBDIR};g" \
		-e "s;@@EMACS_VER@@;${EMACS_VER};g" \
		-e "s;@@EMACS_LIBDIR_WITH_VER@@;${EMACS_LIBDIR_WITH_VER};g" \
	> ${WRKDIR}/${i}
	fi
done
OpenPOWER on IntegriCloud