範例 9
$4
跟範例8差不多...
只是多放了一個 man page 進去
Makefile.am
bin_PROGRAMS = hello hello_SOURCES = hello.cc man_MANS = hello.1 EXTRA_DIST = hello.1
步驟
$ autoreconf -i $ ./configure $ make dist
這樣就會產生一個 .tar.gz 的版本發行檔案
如果把 Makefile.am 中的 EXTRA_DIST 註解掉
在 make dist 的時候就不會把 man page 放進 .tar.gz 裡面
Enrico 說他也不太曉得為何?