Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
1.1 KiB

# 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 "^AM_INIT_AUTOMAKE(" $(top_srcdir)/configure.ac | sed -e 's/^.*(\([A-Za-z]*\),.*$$/\1/'`; \
VERSION=`grep "^AM_INIT_AUTOMAKE(" $(top_srcdir)/configure.ac | sed -e 's/^.*,[ ]\([0-9.]*\).*$$/\1/'`; \
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 "^AM_INIT_AUTOMAKE(" $(top_srcdir)/configure.ac | sed -e 's/^.*(\([A-Za-z]*\),.*$$/\1/'`; \
VERSION=`grep "^AM_INIT_AUTOMAKE(" $(top_srcdir)/configure.ac | sed -e 's/^.*,[ ]\([0-9.]*\).*$$/\1/'`; \
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-$@ $@