*** empty log message ***
[automake.git] / TODO
blob81aa16964cb1eedde27a0c45ad49f3f4c0c2b460
1 Top priorities:
2 * Make installdirs target.
4 Some known problems:
5 * clean targets not very well tested
7 Should 'distclean' remove $(SCRIPTS)?
8 Should 'maintainer-clean' do "rm -rf .deps"?
9 Should look for clean-local targets in Makefile.am.
11 Consider a --install-missing option to install missing files such as
12 mdate-sh, texinfo.tex, etc.
14 Prettyprint macro definitions, eg:
15         DIST_COMMON = Makefile.in Makefile.am \
16         foo bar baz
18 It might be cool to generate .texi dependencies by grepping for
19 @include.  (If done, it should be done the same way C dependency is
20 done)
22 Rename --include-deps to --insert-deps?
24 Merge common parts of "dist" targets into dist-local.
26 It would be good to check some parts of GNU standards.  Already check
27 for install-sh and mkinstalldirs.  What else is required to be in
28 package by GNU standards or by automake?
30 Maybe it should be possible to disable all GNU-specific things with
31 --no-gnu? --ignore-standards?  But what?  And why?
33 Think about modifications so automake can work with a standalone
34 library, eg readline.  For instance we need a way to install a
35 library, and a way to install header files.  It would also be nice to
36 figure out some good way to deal with shared libs.  When doing this,
37 make sure kpathsea can also be handled.
39 Allow ".h" files to appear in blah_SOURCES; just write them out of
40 existence.  [ This is nixed for now because of the auto-dependency
41 tracking stuff ]
43 automake.in: should ".cc" really -> ".${kr}o"?  This doesn't really
44 seem right, but maybe it is so names can be rewritten uniformly?  Must
45 check
47 look in configure.in's AC_OUTPUT command and include those files in
48 distribution.
50 consider auto-including any file that matches "*.in".
51   [ no: po/Makefile.in shouldn't be included ]
53 must look at mkid to see how it works (for subdir usage)
54   [ right now, it doesn't.  i don't see a simple fix right now ]
56 Internationalize. [ gettext doesn't have the necessary machinery yet ]
58 ================================================================
60 For CONFIG_HEADER,
61   automatically add its input file to the distribution.
63 Don't hardcode the name of the configuration header.  Get it from
64 configure.in (AC_CONFIG_HEADER).  
66 Get the list of Makefiles to create from configure.in AC_OUTPUT
67 if none are given.
68         [ right now we look for any Makefile.am's lying around
69           I think this is better, because it allows use of subdirs
70           which don't use automake -- eg, stuff from gettext ]
72 Should libexec programs have the name transform done on them?
74 Order the output rules sensibly, so FOO_SOURCES and FOO_OBJECTS are
75 together and rules are in the usual order.
77 Make the output minimal: only output definitions for variables that
78 are used.
80 Look at dist's jmake for ideas.  [what is this?]
82 Should handle directory hierarchies deeper than 2.  Right now there is
83 no support for this at all.
85 ================================================================
87 Known Bugs:
89 version.texi handling is broken -- it assumes you only have one .texi
90 file per directory.
91    (*) In any case, the UPDATED information would be different for
92    each .texi file included in a package -- that is my problem.
93    Now, if no package will ever have more than one .texi file
94    (in a given directory), I can just stop worrying about it.
96 If there is ever more than one, we will need to change the name of
97 'version.texi' to be based on the name of the primary .texi file.
98 Will have to be careful here not to violate MS-DOS name limits.  Also
99 will need more than one stamp-vti.
102 ================================================================
104 Document:
107 Defined variables, their meanings, and their effects:
109 DEFS           cpp definitions
110 INCLUDES       -I options to cpp
111 CPPFLAGS       more cpp flags
112 CFLAGS         flags to cc
113 COMPILE        how to compile a C program
114 LINK           how to link a C program
116 DIST_SUBDIRS   directories which are copied verbatim into the
117                distribution.  Used eg for directories holding
118                only example code (which don't have their own
119                makefile).  This variable might be a bad idea.