Skip to content

Commit

Permalink
Use $srcdir to find version number in version.c
Browse files Browse the repository at this point in the history
  • Loading branch information
gwsw committed Jan 21, 1996
1 parent 961e82a commit dd6685e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ realclean: distclean
rm -f TAGS

REPLACE_VERSION = \
@REL=`sed -e '/char version/!d' -e 's/[^0-9.]*\([0-9.]*\).*/\1/' -e q version.c`; \
@REL=`sed -e '/char version/!d' -e 's/[^0-9.]*\([0-9.]*\).*/\1/' -e q ${srcdir}/version.c`; \
echo "Stuffing version number into $@"; \
sed -e "s/@@VERSION@@/$$REL/" >$@

Expand Down

0 comments on commit dd6685e

Please sign in to comment.