autoconf.jam

来自「经典开源游戏glest的源代码」· JAM 代码 · 共 45 行

JAM
45
字号
# Clean rules for autoconf generated stuff##  Setup some stuff that makes usage of autoconf easierrule UseAutoconf{    # construct some clean targets    Clean distclean : config.log config.status config.cache aclocal.m4                      Jamconfig config.h out.txt log.txt stamp-h1                       libtool ;    CleanDir distclean : autom4te.cache out ;    Depends distclean : clean ;                                                                                    Clean maintainer-clean : configure aclocal.m4 config.h.in Jamconfig.in ;    Depends maintainer-clean : distclean ;                                                                                    Help clean : "Cleanup objectfiles and targets" ;    Help distclean : "Cleanup objectfiles and build configuration" ;    Help maintainer-clean :        "Cleanup all objectfiles, buildconfig and generated files." ;    Package autogen.sh configure.ac configure config.h.in            Jamrules Jamconfig.in ;    Package [ Wildcard mk/jam : *.jam ] [ Wildcard mk/autoconf : *.m4 ]            [ Wildcard mk/autoconf : config.* ]            mk/autoconf/install-sh ;    actions CheckNewer {        echo Error: $(>) is newer than $(<).        echo ""        echo You should rerun ./autogen.sh and ./configure        exit 1    }    rule CheckNewer {        Depends $(<) : $(>) ;        Depends all : $(<) ;    }    # Disabled for now because it often gives false alarm...    #configurefiles     #        = configure.ac [ Wildcard mk/autoconf : *.m4 ] ;    #    SEARCH on $(configurefiles) = $(top_srcdir) ;    #    CheckNewer configure : $(configurefiles) ;    #    CheckNewer Jamconfig : $(configurefiles) ;}

⌨️ 快捷键说明

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