Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1007424
  • 博文数量: 87
  • 博客积分: 3324
  • 博客等级: 中校
  • 技术积分: 1003
  • 用 户 组: 普通用户
  • 注册时间: 2006-05-17 11:37
文章分类

全部博文(87)

文章存档

2014年(3)

2013年(5)

2012年(21)

2011年(13)

2010年(7)

2009年(9)

2008年(4)

2007年(14)

2006年(11)

分类: C/C++

2007-03-16 15:15:07

在Makefile.am里面指名安装的文件时,可使用nobase_前缀来解决一些问题.
(在下面的文章里, $(prefix)指软件包实际的安装目录)请看下面两行:
include_HEADERS = include/hello.h
nobase_include_HEADERS = include/hello.h
如果在Makefile.am里面写上第一行,则会将hello.h安装到$(prefix)/include目录下.
如果在Makefile.am里面写上第二行,则会将hello.h安装到$(prefix)/include/include目录下.
阅读(1989) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~