📄 cleanconf.sh
字号:
#!/bin/sh######################################################################## File: cleanconf.sh## Purpose: to remove autogenerated files## Version: $Id: cleanconf.sh,v 1.10 2005/07/13 14:00:48 cary Exp $## Copyright 2003, Tech-X Corporation######################################################################## read command-line parameterswhile getopts a opt; do case "$opt" in a) regenconf=true ;; \?) # unknown flag echo >&2 "Usage: $0 [-a]" exit 1 ;; esacdoneshift `expr $OPTIND - 1`# Get rid of old filesecho Removing all the autogenerated filescmd='rm -f configure config.cache aclocal.m4 config.h.in'echo "$cmd"eval $cmdrmfiles="Makefile.in Makefile.am.orig hdrs.txt cppsrcs.txt cxxsrcs.txt distfiles.txt"for i in $rmfiles; do # cmd='find ./ -name hdrs.txt -exec rm -f {} \;' cmd="find ./ -name $i -exec "'rm -f {} \;' echo $cmd eval $cmddoneecho Removing configure cachecmd="rm -rf autom4te.cache autom4te-*.cache"echo "$cmd"eval $cmd# Creating new files for this platformif test -z "$regenconf"; then echo echo You should now make files specific to local versions of echo automake/autoconf by doing the following: echo config/regenconf.sh echo or run this with the -a optionelse configdir=`dirname $0` echo $configdir/regenconf.sh $configdir/regenconf.shfi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -