Linux程序设计(20)第九章:开发工具(1)make makefile,源代码控制系统:SCCS RCS CVS Subversion,patch tar
1. make Makefile
makefile[一]:编译选项,debug/release版本
https://blog.csdn.net/lqy971966/article/details/105146726
1.1 代码例子
后面补上。
2. 源代码控制系统:SCCS RCS CVS Subversion
3. 发行软件
3.1 patch 工具
两个不同的文件 通过 diff 和 patch 修改一个同另外一个一样
[root@localhost linux-]# cat di.txt
1
2
3
4
[root@localhost linux-]# cat di2.txt
2
2
3
4
5
6
[root@localhost linux-]#
[root@localhost linux-]# diff di.txt di2.txt
1c1
< 1
---
> 2
4a5,6
> 5
> 6
[root@localhost linux-]# diff di.txt di2.txt > diffs
[root@localhost linux-]# patch di.txt diffs
patching file di.txt
[root@localhost linux-]# diff di.txt di2.txt
[root@localhost linux-]#
[root@localhost linux-]# cat di.txt
2
2
3
4
5
6
[root@localhost linux-]# cat di2.txt
3.2 tar 工具
Linux tar 命令
https://blog.csdn.net/lqy971966/article/details/100174885