⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ax_cvs.m4

📁 在LINUX下运行的仿真机器人服务器源代码
💻 M4
📖 第 1 页 / 共 2 页
字号:
        ${AX_DOLLAR}2 = ${AX_DOLLAR}2 ver_array[ i ] \".\";    ${AX_DOLLAR}2 = ${AX_DOLLAR}2 ver_array[ n ];    if( tail )        ${AX_DOLLAR}2 = ${AX_DOLLAR}2 tail;}{ print ${AX_DOLLAR}0; }]])    AX_ADD_MK_MACRO([[update:	@cd \"${AX_DOLLAR}(srcdir)\" && $CVS -z9 updatecvsalways:${AX_DOLLAR}(top_builddir)/commitlog: cvsalways	@(CURR=\`pwd\`; cd \"${AX_DOLLAR}(top_srcdir)\"; $CVS -z9 diff -u --brief 2>&1 | \\	$AWK \\	\'/^Index/ { print \"\\\\t* ./\" ${AX_DOLLAR}${AX_DOLLAR}2; } \\	/^cvs diff: .* was removed/ { print \"\\\\t* ./\" ${AX_DOLLAR}${AX_DOLLAR}3 \" (removed)\"; } \\	/^cvs diff: .* is a new entry/ { print \"\\\\t* ./\" ${AX_DOLLAR}${AX_DOLLAR}3 \" (added)\"; }\' \\	> \"${AX_DOLLAR}${AX_DOLLAR}CURR/commitlog.tmp\")	@if test -s commitlog.tmp; then \\	        echo \"\" >> commitlog.tmp; \\		if test -f ${AX_DOLLAR}(top_builddir)/commitlog; then \\			cat ${AX_DOLLAR}(top_builddir)/commitlog >> commitlog.tmp; \\		fi; \\		echo \"/* -*-change-log-*- */\" > ${AX_DOLLAR}(top_builddir)/commitlog; \\		DATE=\`date +\"%%Y-%%m-%%d\"\`; \\		echo \"${AX_DOLLAR}${AX_DOLLAR}DATE	${USERNAME}	<${USEREMAIL}>\" >> ${AX_DOLLAR}(top_builddir)/commitlog; \\		echo \"\" >> ${AX_DOLLAR}(top_builddir)/commitlog; \\		cat commitlog.tmp  >> ${AX_DOLLAR}(top_builddir)/commitlog; \\		rm -f commitlog.tmp; \\		$CVSEDITOR ${AX_DOLLAR}(top_builddir)/commitlog; \\		$AWK \'BEGIN { blank=0; } \\		/\\\\/\\\\* -\\\\*-change-log-\\\\*- \\\\*\\\\// { getline; } \\		/^[[:blank:]]*\$\$/ { if( !blank ) { blank = 1; print; } } \\		/[[:alnum:]]/ { print; blank = 0; } \\		END{ if( !blank ) print \"\"; }\' \\		${AX_DOLLAR}(top_builddir)/commitlog > commitlog.tmp; \\		mv commitlog.tmp ${AX_DOLLAR}(top_builddir)/commitlog; \\	else \\		echo \"no changes found\";\\	ficommit: update ${AX_DOLLAR}(top_builddir)/commitlog 	@if test -f ${AX_DOLLAR}(top_builddir)/commitlog; then \\	    cat ${AX_DOLLAR}(top_builddir)/commitlog \"\$(top_srcdir)/ChangeLog\" > ChangeLog.tmp; \\	    mv ChangeLog.tmp \"\$(top_srcdir)/ChangeLog\"; \\	    CURR=\`(cd \"${AX_DOLLAR}(top_builddir)\"; pwd )\`; \\	    (cd \"\$(top_srcdir)\"; $CVS -z9 commit -F \"${AX_DOLLAR}${AX_DOLLAR}CURR/commitlog\" ); \\	    rm -f ${AX_DOLLAR}(top_builddir)/commitlog; \\	ficvs-rm:	@echo \"Removing files from CVS\"	@if test \"x\$(FILES)\" != \"x\"; then \\	    NEWFILES=\"\"; \\	    for FILE in \$(FILES); do \\		if test -e \"${AX_DOLLAR}${AX_DOLLAR}FILE\"; then \\	            rm -i \"${AX_DOLLAR}${AX_DOLLAR}FILE\"; \\	        fi; \\	        if test ! -e \"${AX_DOLLAR}${AX_DOLLAR}FILE\"; then \\	            if test \"\$(srcdir)\" != \".\"; then \\	                FILE=\`echo \"${AX_DOLLAR}${AX_DOLLAR}FILE\" | $SED -e \'s|^\$(srcdir)|.|\'\`; \\	            fi; \\	            NEWFILES=\"${AX_DOLLAR}${AX_DOLLAR}NEWFILES ${AX_DOLLAR}${AX_DOLLAR}FILE\"; \\	        fi; \\	    done; \\	    if test \"x${AX_DOLLAR}${AX_DOLLAR}NEWFILES\" != \"x\"; then \\	        (cd \"\$(srddir)\"; $CVS remove ${AX_DOLLAR}${AX_DOLLAR}NEWFILES; ); \\	    fi; \\	else \\	    echo \"You must specify the file(s) you want to remove from cvs by using\"; \\	    echo \"the FILES environment variable.  For example:\"; \\	    echo \"    make cvs-rm FILES=\'foo bar\'\"; \\	    echo \"\"; \\	    exit 1; \\	ficvs-add:	@echo \"Adding files to CVS\"	@if test \"x${AX_DOLLAR}(FILES)\" != \"x\"; then \\	    NEWFILES=\"\"; \\	    for FILE in ${AX_DOLLAR}(FILES); do \\		if test -e \"${AX_DOLLAR}${AX_DOLLAR}FILE\"; then \\	            if test \"${AX_DOLLAR}(srcdir)\" != \".\"; then \\	                FILE=\`echo \"${AX_DOLLAR}${AX_DOLLAR}FILE\" | sed -e \'s|^${AX_DOLLAR}(srcdir)|.|\'\`; \\	            fi; \\		fi; \\	        NEWFILES=\"${AX_DOLLAR}${AX_DOLLAR}NEWFILES ${AX_DOLLAR}${AX_DOLLAR}FILE\"; \\	    done; \\	    if test \"x${AX_DOLLAR}${AX_DOLLAR}NEWFILES\" != \"x\"; then \\	        cd \"${AX_DOLLAR}(srcdir)\"; $CVS add ${AX_DOLLAR}${AX_DOLLAR}NEWFILES; \\	    fi; \\	else \\	    echo \"You must specify the file(s) you want to add to cvs by using\"; \\	    echo \"the FILES environment variable.  For example:\"; \\	    echo \"    make cvs-add FILES=\'foo bar\'\"; \\	    echo \"\"; \\	    exit 1; \\	fibranch-major:	@tag=\"$PACKAGE-${AX_MAJOR_VERSION}\"; \\	echo \"\"; \\	echo \"Creating major brach: ${AX_DOLLAR}${AX_DOLLAR}tag\"; \\	(cd \"${AX_DOLLAR}(top_srcdir)\"; $CVS tag -b \"${AX_DOLLAR}${AX_DOLLAR}tag\"; ); \\	$AWK -f ax_cvs_rel.awk -v change=1 \"${AX_DOLLAR}(top_srcdir)/configure.ac\" > configure.tmp; \\	touch ${AX_DOLLAR}(top_builddir)/commitlog; \\	DATE=\`date +\"%%Y-%%m-%%d\"\`; \\	echo \"${AX_DOLLAR}${AX_DOLLAR}DATE	$USERNAME	<$USEREMAIL>\" > commitlog.tmp ; \\	echo \"\" >> commitlog.tmp; \\	echo \"	* ./configure.ac\" >> commitlog.tmp; \\	echo \"	Created major branch: ${AX_DOLLAR}${AX_DOLLAR}tag\" >> commitlog.tmp; \\	echo \"	Use:\" >> commitlog.tmp; \\	echo \"	\\\\\`cvs -d$ANON_CVSROOT login\\\\\`\" >> commitlog.tmp; \\	echo \"	\\\\\`cvs -d$ANON_CVSROOT co -r ${AX_DOLLAR}${AX_DOLLAR}tag $PACKAGE\\\\\`\" >> commitlog.tmp; \\	echo \"	to access the branch\" >> commitlog.tmp; \\	echo \"\" >> commitlog.tmp; \\	cat ${AX_DOLLAR}(top_builddir)/commitlog >> commitlog.tmp; \\	mv commitlog.tmp ${AX_DOLLAR}(top_builddir)/commitlog; \\	cat ${AX_DOLLAR}(top_builddir)/commitlog \"${AX_DOLLAR}(top_srcdir)/ChangeLog\" > ChangeLog.tmp; \\	mv ChangeLog.tmp \"${AX_DOLLAR}(top_srcdir)/ChangeLog\"; \\	mv configure.tmp \"${AX_DOLLAR}(top_srcdir)/configure.ac\"; \\	CURR=\`(cd \"${AX_DOLLAR}(top_builddir)\"; pwd )\`; \\	(cd \"${AX_DOLLAR}(top_srcdir)\"; $CVS -z9 commit -F \"${AX_DOLLAR}${AX_DOLLAR}CURR/commitlog\"; ); \\	rm -f ${AX_DOLLAR}(top_builddir)/commitlog; \\	$CVS -z9 -d${AX_DOLLAR}(CVSROOT) co -r ${AX_DOLLAR}${AX_DOLLAR}tag -d ${AX_DOLLAR}${AX_DOLLAR}tag $PACKAGE; \\	echo \"The branch is now available in the ${AX_DOLLAR}${AX_DOLLAR}tag directory\"; \\	echo \"\"branch-minor:	@tag=\"$PACKAGE-${AX_MAJOR_VERSION}_${AX_MINOR_VERSION}\"; \\	echo \"\"; \\	echo \"Creating minor brach: ${AX_DOLLAR}${AX_DOLLAR}tag\"; \\	(cd \"${AX_DOLLAR}(top_srcdir)\"; $CVS tag -b \"${AX_DOLLAR}${AX_DOLLAR}tag\"; ); \\	$AWK -f ax_cvs_rel.awk -v change=1 \"${AX_DOLLAR}(top_srcdir)/configure.ac\" > configure.tmp; \\	touch ${AX_DOLLAR}(top_builddir)/commitlog; \\	DATE=\`date +\"%%Y-%%m-%%d\"\`; \\	echo \"${AX_DOLLAR}${AX_DOLLAR}DATE	$USERNAME	<$USEREMAIL>\" > commitlog.tmp ; \\	echo \"\" >> commitlog.tmp; \\	echo \"	* ./configure.ac\" >> commitlog.tmp; \\	echo \"	Created minor branch: ${AX_DOLLAR}${AX_DOLLAR}tag\" >> commitlog.tmp; \\	echo \"	Use:\" >> commitlog.tmp; \\	echo \"	\\\\\`cvs -d$ANON_CVSROOT login\\\\\`\" >> commitlog.tmp; \\	echo \"	\\\\\`cvs -d$ANON_CVSROOT co -r ${AX_DOLLAR}${AX_DOLLAR}tag $PACKAGE\\\\\`\" >> commitlog.tmp; \\	echo \"	to access the branch\" >> commitlog.tmp; \\	echo \"\" >> commitlog.tmp; \\	cat ${AX_DOLLAR}(top_builddir)/commitlog >> commitlog.tmp; \\	mv commitlog.tmp ${AX_DOLLAR}(top_builddir)/commitlog; \\	cat ${AX_DOLLAR}(top_builddir)/commitlog \"${AX_DOLLAR}(top_srcdir)/ChangeLog\" > ChangeLog.tmp; \\	mv ChangeLog.tmp \"${AX_DOLLAR}(top_srcdir)/ChangeLog\"; \\	mv configure.tmp \"${AX_DOLLAR}(top_srcdir)/configure.ac\"; \\	CURR=\`(cd \"${AX_DOLLAR}(top_builddir)\"; pwd )\`; \\	(cd \"${AX_DOLLAR}(top_srcdir)\"; $CVS -z9 commit -F \"${AX_DOLLAR}${AX_DOLLAR}CURR/commitlog\"; ); \\	rm -f ${AX_DOLLAR}(top_builddir)/commitlog; \\	$CVS -z9 -d${AX_DOLLAR}(CVSROOT) co -r ${AX_DOLLAR}${AX_DOLLAR}tag -d ${AX_DOLLAR}${AX_DOLLAR}tag $PACKAGE; \\	echo \"The branch is now available in the ${AX_DOLLAR}${AX_DOLLAR}tag directory\"; \\	echo \"\"add_rel: 	@touch \"${AX_DOLLAR}(top_builddir)/commitlog\"	@DATE=\`date +\"%%Y-%%m-%%d\"\`; \\	echo \"${AX_DOLLAR}${AX_DOLLAR}DATE	$USERNAME	<$USEREMAIL>\" > commitlog.tmp	@echo \"\" >> commitlog.tmp	@echo \"	* ./configure.ac\" >> commitlog.tmp	@echo \"	Released $PACKAGE-$VERSION\" >> commitlog.tmp	@echo \"	You can access this release by running:\" >> commitlog.tmp	@echo \"	    \\\\\`cvs -d$ANON_CVSROOT login\\\\\`\" >> commitlog.tmp	@tag=\"$PACKAGE-${AX_MAJOR_VERSION}_${AX_MINOR_VERSION}_${AX_POINT_VERSION}\"; \\	echo \"	    \\\\\`cvs -d$ANON_CVSROOT co -r ${AX_DOLLAR}${AX_DOLLAR}tag -d $PACKAGE-$VERSION $PACKAGE\\\\\`\" >> commitlog.tmp	@echo \"	The release will then be available in the $PACKAGE-$VERSION directory\" >> commitlog.tmp	@echo \"\" >> commitlog.tmp	@cat \"${AX_DOLLAR}(top_builddir)/commitlog\" >> commitlog.tmp  	@mv commitlog.tmp \"${AX_DOLLAR}(top_builddir)/commitlog\"	@cat \"${AX_DOLLAR}(top_builddir)/commitlog\" \"\$(top_srcdir)/ChangeLog\" > ChangeLog.tmp	@mv ChangeLog.tmp \"\$(top_srcdir)/ChangeLog\"	@CURR=\`(cd \"${AX_DOLLAR}(top_builddir)\"; pwd )\`; \\	(cd \"\$(top_srcdir)\"; $CVS -z9 commit -F \"${AX_DOLLAR}${AX_DOLLAR}CURR/commitlog\"; )	@rm -f ${AX_DOLLAR}(top_builddir)/commitlogdo_tag:	@tag=\"$PACKAGE-${AX_MAJOR_VERSION}_${AX_MINOR_VERSION}_${AX_POINT_VERSION}\"; \\	echo \"tagging release with ${AX_DOLLAR}${AX_DOLLAR}tag\"; \\	(cd \"\$(top_srcdir)\"; $CVS tag -b \"${AX_DOLLAR}${AX_DOLLAR}tag\"; ); \\	REL_DIR=\"\$(top_builddir)/release/$PACKAGE\"; \\	mkdir -p "\$\$REL_DIR"; \\	(cd "\$\$REL_DIR"; $CVS -z9 -d$CVSROOT co -r ${AX_DOLLAR}${AX_DOLLAR}tag -d \"$VERSION\" $PACKAGE; ); \\	echo \"The release is now available in the \"\$\$REL_DIR/$VERSION\" directory\"; \\	echo \"\"inc_rel: 	@$AWK -f ax_cvs_rel.awk -v change=3 \"\$(top_srcdir)/configure.ac\" > configure.tmp;	@mv configure.tmp \"\$(top_srcdir)/configure.ac\"	@touch \"\$(top_builddir)/commitlog\"	@DATE=\`date +\"%%Y-%%m-%%d\"\`; \\	echo \"${AX_DOLLAR}${AX_DOLLAR}DATE	$USERNAME	<$USEREMAIL>\" > commitlog.tmp ; \\	echo \"\" >> commitlog.tmp; \\	echo \"	* ./configure.ac\" >> commitlog.tmp; \\	echo \"	Update version number\" >> commitlog.tmp; \\	echo \"\" >> commitlog.tmp; \\	cat ${AX_DOLLAR}(top_builddir)/commitlog >> commitlog.tmp; \\	mv commitlog.tmp ${AX_DOLLAR}(top_builddir)/commitlog; \\	cat ${AX_DOLLAR}(top_builddir)/commitlog \"${AX_DOLLAR}(top_srcdir)/ChangeLog\" > ChangeLog.tmp; \\	mv ChangeLog.tmp \"${AX_DOLLAR}(top_srcdir)/ChangeLog\"; \\	CURR=\`(cd \"${AX_DOLLAR}(top_builddir)\"; pwd )\`; \\	(cd \"${AX_DOLLAR}(top_srcdir)\"; $CVS -z9 commit -F \"${AX_DOLLAR}${AX_DOLLAR}CURR/commitlog\"; ); \\	rm -f ${AX_DOLLAR}(top_builddir)/commitlog;tag: do_tag inc_rel# creates a release for the current version, increaments the point# release number and checkout the release into a new direcoryrelease: update distcheck add_rel tag# same as release, but distcheck is not performed before releasingquick-release:	update add_rel tag]])fi])# AX_CVS

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -