From 0 Mon Sep 17 00:00:00 2001 From: "George V. Kouryachy (Fr. Br. George)" Date: Tue, 23 Oct 2012 14:15:59 +0400 Subject: [PATCH] xterm-alt-man_suffix diff --git a/xterm/minstall.in b/xterm/minstall.in index defaced..defaced 100644 --- a/xterm/minstall.in +++ b/xterm/minstall.in @@ -115,13 +115,6 @@ do done WTMP_PATH=$WTMP_PATH/$WTMP_NAME -# "X" is usually in the miscellaneous section, along with "undocumented". -# Use that to guess an appropriate section. This relies on having the manpage -# installed. -X_MANPAGE=X -X_MANSECT=`man $X_MANPAGE 2>&1 | grep $X_MANPAGE'([^)]*)' | head -n 1 | tr '\012' '\040' | sed -e 's/^[^0123456789]*\([^) ][^) ]*\).*/\1/'` -test -z "$X_MANSECT" && X_MANSECT=$suffix - VERSION_H=`echo "$OLD_FILE" | sed -e 's,/[^/]*$,/version.h,' -e s',^[^/]*$,version.h,'` PATCH_NUM=`fgrep XTERM_PATCH $VERSION_H|sed -e 's/[^0-9]*//g'` PATCH_YMD=`fgrep XTERM_DATE $VERSION_H|sed -e 's,[^0-9/.-]*,,g'` @@ -157,7 +150,7 @@ sed -e 's%__vendorversion__%"X Window System"%' \ -e "s%__default_class__%$APP_TYPE%" \ -e "s%__apploaddir__%$APPS_DIR%" \ -e "s%__mansuffix__%$MY_MANSECT%g" \ - -e "s%__miscmansuffix__%$X_MANSECT%g" \ + -e "s%__miscmansuffix__%$MY_MANSECT%g" \ -e "s%__pixmapsdir__%$XPMS_DIR%" \ -e 's%fIutmp\\%fI'$UTMP_NAME'\\%g' \ -e "s%/etc/utmp%$UTMP_PATH%g" \