Skip to content

Commit

Permalink
update CHANGES, fix make clobber and make install
Browse files Browse the repository at this point in the history
make clobber also removes the legacy files: help/man, and help/usage.

make install now removes the legacy files: ${HELPDIR}/man and
${HELPDIR}/usage.

Document the GNU readline then for any multi-line copy-and-paste
fix in CHANGES.
  • Loading branch information
lcn2 committed Jan 5, 2024
1 parent 18cd1f9 commit 9b37e79
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
15 changes: 14 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
The following are the changes from calc version 2.15.0.4 to date:

make clobber now removes the legacy file: have_fpos.h
make clobber now removes the legacy files: have_fpos.h, help/man,
and help/usage. The latter 2 are now managed as help aliases
in help.c.

make install now removes the legacy files: ${HELPDIR}/man
and ${HELPDIR}/usage.

Fixed a problem where, when calc was linked with and uses GNU
readline then for any multi-line copy-and-paste, only the first
line is executed. Thanks to GitHub user @malfisya for reporting
this problem, and thanks to GitHub user @gromit1811 for doing
the research needed to overcome deficiencies in the GNU readline
documentation, and for supplying the work-a-round to allow
multi-line copy-and-paste to work as expected!


The following are the changes from calc version 2.15.0.3 to 2.15.0.4:
Expand Down
10 changes: 9 additions & 1 deletion help/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ clean:
${RM} -f COPYING COPYING-LGPL questions

clobber: clean
${RM} -f ${BLT_HELP_FILES} full .all calc
${RM} -f ${BLT_HELP_FILES} full .all calc man usage
${RM} -f ${SINGULAR_FILES} ${DETAIL_CLONE}
-${Q} if [ -e .DS_Store ]; then \
echo ${RM} -rf .DS_Store; \
Expand Down Expand Up @@ -743,6 +743,14 @@ install: all
${RM} -f ${T}${HELPDIR}/md5; \
echo "removed old ${T}${HELPDIR}/md5"; \
fi;
-${Q} if [ -f "${T}${HELPDIR}/man" ]; then \
${RM} -f ${T}${HELPDIR}/man; \
echo "removed old ${T}${HELPDIR}/man"; \
fi;
-${Q} if [ -f "${T}${HELPDIR}/usage" ]; then \
${RM} -f ${T}${HELPDIR}/usage; \
echo "removed old ${T}${HELPDIR}/usage"; \
fi;

# Try to remove everything that was installed
#
Expand Down

0 comments on commit 9b37e79

Please sign in to comment.