summaryrefslogtreecommitdiff
path: root/jni/iconv/libcharset/djgpp/Makefile.maint
diff options
context:
space:
mode:
authorJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-03-16 18:49:26 +0900
committerJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-03-30 00:39:06 +0900
commitfcbf63e62c627deae76c1b8cb8c0876c536ed811 (patch)
tree64cb17de3f41a2b6fef2368028fbd00349946994 /jni/iconv/libcharset/djgpp/Makefile.maint
Fresh start
Diffstat (limited to 'jni/iconv/libcharset/djgpp/Makefile.maint')
-rw-r--r--jni/iconv/libcharset/djgpp/Makefile.maint32
1 files changed, 32 insertions, 0 deletions
diff --git a/jni/iconv/libcharset/djgpp/Makefile.maint b/jni/iconv/libcharset/djgpp/Makefile.maint
new file mode 100644
index 0000000..30ae168
--- /dev/null
+++ b/jni/iconv/libcharset/djgpp/Makefile.maint
@@ -0,0 +1,32 @@
+# Maintainer's Makefile -*-Makefile-*-
+
+top_srcdir = ..
+srcdir = .
+
+SHELL = /bin/sh
+
+all: README fnchange.lst
+
+fnchange.lst: fnchange.in $(top_srcdir)/configure.ac
+ rm -f $@; \
+ PACKAGE=`grep "^PACKAGE=" $(top_srcdir)/configure.ac | sed -e 's/^PACKAGE=//'`; \
+ VERSION=`grep "^VERSION=" $(top_srcdir)/configure.ac | sed -e 's/^VERSION=//'`; \
+ sed \
+ -e '/^#/d' \
+ -e "s/@V@/$${PACKAGE}-$${VERSION}/g" \
+ $(srcdir)/fnchange.in > t-$@
+ mv t-$@ $@
+
+README: README.in $(top_srcdir)/configure.ac
+ rm -f $@; \
+ PACKAGE=`grep "^PACKAGE=" $(top_srcdir)/configure.ac | sed -e 's/^PACKAGE=//'`; \
+ VERSION=`grep "^VERSION=" $(top_srcdir)/configure.ac | sed -e 's/^VERSION=//'`; \
+ packageversion=`echo "$${VERSION}" | sed 's/\.//g'`; \
+ treeversion=`echo "$${VERSION}" | sed 's/\.//g'`; \
+ sed \
+ -e "s/@V@/$${PACKAGE}-$${VERSION}/g" \
+ -e "s/@VER@/$${VERSION}/g" \
+ -e "s/@packageversion@/$$packageversion/g" \
+ -e "s/@treeversion@/$$treeversion/g" \
+ $(srcdir)/README.in > t-$@
+ mv t-$@ $@