Annotation of embedaddon/libiconv/libcharset/djgpp/Makefile.maint, revision 1.1
1.1 ! misho 1: # Maintainer's Makefile -*-Makefile-*-
! 2:
! 3: top_srcdir = ..
! 4: srcdir = .
! 5:
! 6: SHELL = /bin/sh
! 7:
! 8: all: README fnchange.lst
! 9:
! 10: fnchange.lst: fnchange.in $(top_srcdir)/configure.ac
! 11: rm -f $@; \
! 12: PACKAGE=`grep "^PACKAGE=" $(top_srcdir)/configure.ac | sed -e 's/^PACKAGE=//'`; \
! 13: VERSION=`grep "^VERSION=" $(top_srcdir)/configure.ac | sed -e 's/^VERSION=//'`; \
! 14: sed \
! 15: -e '/^#/d' \
! 16: -e "s/@V@/$${PACKAGE}-$${VERSION}/g" \
! 17: $(srcdir)/fnchange.in > t-$@
! 18: mv t-$@ $@
! 19:
! 20: README: README.in $(top_srcdir)/configure.ac
! 21: rm -f $@; \
! 22: PACKAGE=`grep "^PACKAGE=" $(top_srcdir)/configure.ac | sed -e 's/^PACKAGE=//'`; \
! 23: VERSION=`grep "^VERSION=" $(top_srcdir)/configure.ac | sed -e 's/^VERSION=//'`; \
! 24: packageversion=`echo "$${VERSION}" | sed 's/\.//g'`; \
! 25: treeversion=`echo "$${VERSION}" | sed 's/\.//g'`; \
! 26: sed \
! 27: -e "s/@V@/$${PACKAGE}-$${VERSION}/g" \
! 28: -e "s/@VER@/$${VERSION}/g" \
! 29: -e "s/@packageversion@/$$packageversion/g" \
! 30: -e "s/@treeversion@/$$treeversion/g" \
! 31: $(srcdir)/README.in > t-$@
! 32: mv t-$@ $@
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>