Regenerated using autoconf-2.52.
[libiconv.git] / libcharset / djgpp / Makefile.maint
blob49c72ebfd83ed41f61ca80765be2f5cb1ae8e790
1 # Maintainer's Makefile                                         -*-Makefile-*-
3 top_srcdir = ..
4 srcdir = .
6 SHELL = /bin/sh
8 all: README fnchange.lst
10 fnchange.lst: fnchange.in $(top_srcdir)/configure.in
11         PACKAGE=`grep "^PACKAGE=" $(top_srcdir)/configure.in | sed -e 's/^PACKAGE=//'`; \
12         VERSION=`grep "^VERSION=" $(top_srcdir)/configure.in | sed -e 's/^VERSION=//'`; \
13         sed \
14             -e '/^#/d' \
15             -e "s/@V@/$${PACKAGE}-$${VERSION}/g" \
16           $(srcdir)/fnchange.in > t-$@
17         mv t-$@ $@
19 README: README.in $(top_srcdir)/configure.in
20         PACKAGE=`grep "^PACKAGE=" $(top_srcdir)/configure.in | sed -e 's/^PACKAGE=//'`; \
21         VERSION=`grep "^VERSION=" $(top_srcdir)/configure.in | sed -e 's/^VERSION=//'`; \
22         packageversion=`echo "$${VERSION}" | sed 's/\.//g'`; \
23         treeversion=`echo "$${VERSION}" | sed 's/\.//g'`; \
24         sed \
25             -e "s/@V@/$${PACKAGE}-$${VERSION}/g" \
26             -e "s/@VER@/$${VERSION}/g" \
27             -e "s/@packageversion@/$$packageversion/g" \
28             -e "s/@treeversion@/$$treeversion/g" \
29           $(srcdir)/README.in > t-$@
30         mv t-$@ $@