Completely revamped automatic de-ANSI-fication
[automake.git] / TODO
blobdc31d8ded4900236160ae7762db7c4e5246448ea
1 Top priorities:
2 * Fix up how 'clean' targets are handled (they should be handled like
3   install, etc)
4 * Make sure auto-deANSIfication works.  note that ansi2knr requires use of
5   config.h.
6 * Make installdirs target.
8 Consider a --install-missing option to install missing files such as
9 mdate-sh, texinfo.tex, etc.
11 Prettyprint macro definitions, eg:
12         DIST_COMMON = Makefile.in Makefile.am \
13         foo bar baz
15 It might be cool to generate .texi dependencies by grepping for
16 @include.  (If done, it should be done the same way C dependency is
17 done)
19 Rename --include-deps to --insert-deps?
21 Merge common parts of "dist" targets into dist-local.
23 It would be good to check some parts of GNU standards.  Already check
24 for install-sh and mkinstalldirs.  What else is required to be in
25 package by GNU standards or by automake?
27 Maybe it should be possible to disable all GNU-specific things with
28 --no-gnu? --ignore-standards?  But what?  And why?
30 Think about modifications so automake can work with a standalone
31 library, eg readline.  For instance we need a way to install a
32 library, and a way to install header files.  It would also be nice to
33 figure out some good way to deal with shared libs.  When doing this,
34 make sure kpathsea can also be handled.
36 Allow ".h" files to appear in blah_SOURCES; just write them out of
37 existence.  [ This is nixed for now because of the auto-dependency
38 tracking stuff ]
40 should have (moral equivalent of) "all:: info" in texinfos.am?
42 automake.in: should ".cc" really -> ".${kr}o"?  This doesn't really
43 seem right, but maybe it is so names can be rewritten uniformly?  Must
44 check
46 automake.in should disallow setting of LC_ALL and LANG variables by
47 Makefile.am. (?)
49 consider auto-including any file that matches "*.in".
51 must look at mkid to see how it works (for subdir usage)
52   [ right now, it doesn't.  i don't see a simple fix right now ]
54 clean.am: clean: if all the macros are empty, the rule expands to:
55         rm -rf
56 which should be fixed
58 Internationalize. [ gettext doesn't have the necessary machinery yet ]
60 ================================================================
62 For CONFIG_HEADER,
63   automatically add its input file to the distribution.
65 Don't hardcode the name of the configuration header.  Get it from
66 configure.in (AC_CONFIG_HEADER).  
68 Get the list of Makefiles to create from configure.in AC_OUTPUT
69 if none are given.
70         [ right now we look for any Makefile.am's lying around
71           I think this is better, because it allows use of subdirs
72           which don't use automake -- eg, stuff from gettext ]
74 Should libexec programs have the name transform done on them?
76 Order the output rules sensibly, so FOO_SOURCES and FOO_OBJECTS are
77 together and rules are in the usual order.
79 Make the output minimal: only output definitions for variables that
80 are used.
82 Rewrite in Perl.  Look at dist's jmake for ideas.
84 Should handle directory hierarchies deeper than 2.  Right now there is
85 no support for this at all.
87 ================================================================
89 Known Bugs:
91 version.texi handling is broken -- it assumes you only have one .texi
92 file per directory.
93    (*) In any case, the UPDATED information would be different for
94    each .texi file included in a package -- that is my problem.
95    Now, if no package will ever have more than one .texi file
96    (in a given directory), I can just stop worrying about it.
98 If there is ever more than one, we will need to change the name of
99 'version.texi' to be based on the name of the primary .texi file.
100 Will have to be careful here not to violate MS-DOS name limits.  Also
101 will need more than one stamp-vti.
104 ================================================================
106 Document:
109 Defined variables, their meanings, and their effects:
111 DEFS           cpp definitions
112 INCLUDES       -I options to cpp
113 CPPFLAGS       more cpp flags
114 CFLAGS         flags to cc
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.