我正在试图弄清楚如何为基于python的项目创建makefile(其次这是我最熟悉的唯一编程语言),到目前为止,我跟着this tutorial开始了。但是,当生成configure.ac
时,此文件为空,configure
文件也是如此。
同样,当我运行aclocal
时,我没有按照描述获得aclocal.m4
,但我获得了aclocal.cache
目录。
最后,当我尝试运行automake --add-missing
时,收到以下错误消息:
$ automake --add-missing
configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal)
automake: error: no 'Makefile.am' found for any configure output
automake: Did you forget AC_CONFIG_FILES([Makefile]) in configure.ac?
现在,我很困惑有什么不对,怎么做。其次,我还在hitchhiker's guide to packaging
上发现了搭便车导游的描述是否足够?有没有比make
技术好的东西?