📄 readme.cvs
字号:
Achim Gaedke, 010501==============General notes:==============These sources are going to be compiled, packed into a library and installedon a local filesystem. That means, they are not recompiled for each programthey are linked against. This is the main difference to the old hmm/srcsources.Required:automakeautoconflibtoolGNU makeGNU m4=========================Some notes for CVS usage:=========================Prepare the soruce tree for configuration:==========================================execute autogen.sh in order to derive all necessary configure tools.This step needs automake and autoconf from GNU.Then the source tree is ready for normal configuration.There are some differences:- The cvs distribution may contain files, that are not included in the normal distribution. This file is an example. Force inclusion of a file by adding it to the variable EXTRA_DIST in Makefile.am in this directory.- the copyright tags '__copyright__' are not substituted.Create a distribution:======================All you need is:make distThis copies (or links) all necessary files into a seperate directory andcreates a tar.gz archive from it. Before doing this, configure your sourcetree. The version number can be set in toplevel Makefile.am.If you prefer the unpacked distribution tree, you can typemake distdirIn order to check, if all is set up correctly, you can usemake distcheckThat makes a distribution and tries to extratct, configure and build thisdistribution.Before the distribution is packed, a script substitutes all __copyright__tags with the file contents COPYRIGHT.txt. awk is needed for this procedure.Build procedure:================Please notice some pitfalls:- Edit the right file:Make changes only in the cvs tree, all other changes are lost or overriddenautomatically.Make changes in the template file, the other files are derived from that file:some Examples:Makefile is generated from Makefile.inMakefile.in is generated from Makefile.amconfigure is generated from configure.inconfig.h.in is generated from configure among othersJust type pwd if you are not sure.- It is possible to seperate build process and sources:create an own directory for this purpose and change the workdirectory to it:mkdir ghmm-buildcd ghmm-buildcall configure in the source tree from this directory:../ghmm/configureNow the build tree is ready. Execute make for the build process.More about this topic in INSTALL.clean up:=========there are different cleaning levels available in the makefile:mostly-cleancleandistcleanmaintainer-cleanFrom top to bottom each level removes more files:mostly-clean removes object files and core dumpsclean removes all targets (executables and documentation)distclean deletes the host specific configurationmaintainer-clean deletes all autogenerated files
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -