* automake.texi (A Program): Mention `check' prefix.
[automake.git] / TODO
blobfd2e64076b473b107b30d42f1ca08d26a7983008
1 for 1.5
2 investigate problems with conditionally defined libraries
4 add an error if the user makefile.am violates our
5    namespace rules
7 have 'make check' print tests which are skipped
9 we need a document describing automake from the end user's point of view
10 eg describe INSTALL_HEADER there, among other things
12 * maintainer-clean
14 Akim:
15 > @@ -31,5 +31,9 @@
16 >  DISTCLEAN    -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
18 >  maintainer-clean-generic:
19 > +## FIXME: shouldn't we really print these messages before running
20 > +## the dependencies?
21 > +     @echo "This command is intended for maintainers to use"
22 > +     @echo "it deletes files that may require special tools to rebuild."
23 >         -rm -f Makefile.in
25 Tom:
26 > I'd like to eventually fix the FIXME comment by having
27 > maintainer-clean look like:
29 >     maintainer-clean:
30 >         @echo ...
31 >         $(MAKE) whatever
33 > We're left with the question of whether we should repeat them in every
34 > subdir.
37 Alexandre Oliva:
38 > Hmm...  Interesting.  It must have been a side effect of the enabling
39 > of forced `relink' on GNU/Linux/x86.  Anyway, on platforms that
40 > actually require relinking, this problem remains, and I see no way to
41 > overcome it other than arranging for automake to install libraries
42 > before executables, as you suggest.  This shouldn't be a big problem,
43 > anyway.
45 > A bigger problem could show up if two libraries in the same directory,
46 > one dependent on the other, are installed concurrently.  If relinking
47 > is needed for the dependent library, we have a problem.  It appears to
48 > me that user will have to live without `make -j install', in this
49 > case.
51 Alex Hornby
52 > Here's an Automake patch and changelog entry allow make -j install on
53 > such degenerate systems (and Linux with buggy libtool <g>)
55 > If you install to locations other that bin_ and lib_ then a larger fix
56 > is necessary, but this should fix the 90% case.
58 * think about how per-object flags should work.  in particular:
59   * how should they be specified?
60     using the object name is confusing when .lo/.obj in use
61     however, the object name provides a nice interaction with
62     per-exe flags
63   * how should they interact with per-executable flags?
64   [ this is probably a feature in search of a problem ]
66 * cross-compilation support:
67   programs built and used by the build process need to be
68   built for CC_FOR_BUILD
69   introduce a new prefxi for this, e.g. `build_PROGRAMS'
70   [ we can do this in an automatic way I think.
71     unfortunately it isn't that useful until autoconf has support
72     for this sort of thing as well ]
74 * distcheck should make sure that each file that uses _() is
75   listed in POTFILES.in
76   From Jim Meyering:
77     # Verify that all source files using _() are listed in po/POTFILES.in.
78     po-check:
79             grep -E -v '^(#|$$)' po/POTFILES.in | sort > $@-1
80             grep -E -l '\b_\(' lib/*.c src/*.c | sort > $@-2
81             diff -u $@-1 $@-2
82             rm -f $@-1 $@-2
84 * one performance enhancement would be to have autoconf write
85   a single file containing all the macro assignments.
86   then read this file via `include'
87   unfortunately this can't be done because of conditionals
89 * support prog_LIBS as override for LIBS
91 * Scan configure.in using traces as autoheader does.
92   This will be much more reliable.
94 * Test subdir-objects option with yacc, lex, ansi2knr
95   Our locking scheme won't prevent a parallel make from losing
96   if there are two `bar.o' files and the timing is just right
97   This only happens with parallel make and no-`-c -o' compiler,
98   so it probably isn't very important
99   `-c -o' when doing libtool
100   try to find a losing compiler and see if it really works.
101   (actually: hack config.cache and do it)
103 * per-exe flags
104 ** We're using `$<' in explicit rules when using per-exe flags
105 ** per-exe flags don't work for CPPFLAGS/YFLAGS/LFLAGS.  Fix.
106 ** LIBOBJS shouldn't be used when there are per-exe flags (?)
108 * Test nodist_SOURCES with lex, yacc, etc.
110 * Support subdir-objects with fortran
112 * Allow creation of Java .zip/.jar files in natural way
113   If you are building a compiled Java library, then the .zip/.jar
114   ought to be made automatically.
116 * Run automake before libtool.  It will report an error but
117   still won't put the file into the disty.  This is wrong.
118   From Mark H Wilkinson <mhw@kremvax.demon.co.uk>
120 * CFLAGS only defined if C source seen
121   but really it should be a configure variable, shouldn't it?
122   There are other examples of this
123   [ moving to autoconf --trace ought to fix this ]
125 * in gnu/gnits mode, give error if Makefile.am overrides a user
126   variable like CFLAGS.
127   [ this is low priority because the package author can always
128     circumvent our check by redefining in configure.in
129     plus it is probably better to encourage good behavior than to
130     punish bad ]
132 * If we see `foo.o' in LIBOBJS, and we've seen AC_OBJEXT, then complain.
133   [ how will we know that?  it is better to handle this automatically
134     via an autoconf hook ]
136 * examine possibility of using any character in a macro name
137   and rewriting names automatically.  this means we must rewrite
138   all references as well.
139   [ this is a 2.0-style feature ]
141 * AM_CONFIG_HEADER might generate the wrong stamp file names
142   when given multiple headers.  Write a test.
144 * Currently don't correctly handle multiple inputs to a config header.
145   [ this should no matter in the future as acconfig.h and so on are
146     obsoleted by the AH series of macros.]
148 * header stamp files still in wrong dirs.
149   stamp-h.in must be in dir with h.in file
150   stamp-h must be in dir with output file
152 * conditionals and macros
153   Our current scheme cause combinatoric explosion.
155   In fact, to be honest, I no longer understand very well why we perform
156   such a closure.  I mean, as is, Automake transforms (this is
157   cond3.test)
159     | bin_PROGRAMS = targ
160     |
161     | if ONE
162     | SONE = one.c
163     | else
164     | SONE =
165     | endif
166     |
167     | if TWO
168     | STWO = two.c
169     | else
170     | STWO =
171     | endif
172     |
173     | if THREE
174     | STHREE = three.c
175     | else
176     | STHREE =
177     | endif
178     |
179     | targ_SOURCES = $(SONE) $(STWO) $(STHREE)
181   into
183     | @ONE_FALSE@@THREE_FALSE@@TWO_TRUE@am_targ_OBJECTS = two.$(OBJEXT)
184     | @ONE_FALSE@@THREE_FALSE@@TWO_FALSE@am_targ_OBJECTS =
185     | @ONE_FALSE@@THREE_TRUE@@TWO_TRUE@am_targ_OBJECTS = two.$(OBJEXT) \
186     | @ONE_FALSE@@THREE_TRUE@@TWO_TRUE@ three.$(OBJEXT)
187     | @ONE_FALSE@@THREE_TRUE@@TWO_FALSE@am_targ_OBJECTS = three.$(OBJEXT)
188     | @ONE_TRUE@@THREE_FALSE@@TWO_TRUE@am_targ_OBJECTS = one.$(OBJEXT) \
189     | @ONE_TRUE@@THREE_FALSE@@TWO_TRUE@ two.$(OBJEXT)
190     | @ONE_TRUE@@THREE_FALSE@@TWO_FALSE@am_targ_OBJECTS = one.$(OBJEXT)
191     | @ONE_TRUE@@THREE_TRUE@@TWO_TRUE@am_targ_OBJECTS = one.$(OBJEXT) \
192     | @ONE_TRUE@@THREE_TRUE@@TWO_TRUE@ two.$(OBJEXT) three.$(OBJEXT)
193     | @ONE_TRUE@@THREE_TRUE@@TWO_FALSE@am_targ_OBJECTS = one.$(OBJEXT) \
194     | @ONE_TRUE@@THREE_TRUE@@TWO_FALSE@ three.$(OBJEXT)
196   why don't we just output
198     | @ONE_TRUE@am_SONE_OBJECTS = one.$(OBJEXT)
199     | @ONE_FALSE@am_SONE_OBJECTS =
200     |
201     | @TWO_TRUE@am_STWO_OBJECTS = two.$(OBJEXT)
202     | @TWO_FALSE@am_STWO_OBJECTS =
203     |
204     | @THREE_TRUE@am_STHREE_OBJECTS = three.$(OBJEXT)
205     | @THREE_FALSE@am_STHREE_OBJECTS =
206     |
207     | am_targ_OBJECTS = $(am_SONE_OBJECTS) $(am_STWO_OBJECTS) $(am_STHREE_OBJECTS)
209   which means also, why do we look for the closure of PROGRAMS, instead
210   of just adding $(EXEEXT) to all its components and sub components
211   (i.e., inside sub vars such as $(SONE) above being a sub var of
212   targ_SOURCES)?
215   Aaaaaaaaaaah!  I think I know... Must be because of `+='.
217   Hm... No.  Indeed we transform
219     | FOO = foo
220     | if BAR
221     | FOO += BAR
222     | endif
224   into
226     | @BAR_TRUE@FOO = foo bar
227     | @BAR_FALSE@FOO = foo
229   but this seems good to me too?
231     | FOO = foo $(BAR_FOO)
232     | @BAR_TRUE@BAR_FOO = bar
233     | @BAR_FALSE@BAR_FOO =
236 * foo=bar
237   if cond
238   foo += joe
239   endif
240   ... this ought to work.  The fix is probably complicated, but might
241   come for free when we rewrite the handling of conditionals.
243 * `distcheck' and `dist' should depend on `all'
245 * Add code to generate foo-config script like gnome, gtk
247 * `DEFS += foo' won't work.
248   That's because DEFS is defined in header-vars.am, which is read
249   after the user's Makefile.am.
250   This will be a problem for any macro defined internally
251     [ fixing this will probably fix the nasty `exeext redefines
252       foo_PROGRAMS' hack that is in there right now ]
253     [ we currently give an error when this occurs, so this is very low
254       priority ]
256 * document user namespace for macro/target names
257   adopt some conventions and use uniformly
258     [ this is a good thing for the rewrite ]
260 * make distcheck uses directories like `=build'.
261   Some (very rare) POSIX systems don't support `=' in filenames.
262   If this ever becomes a problem, fix it
264 * distclean must remove config.status
265   can't this cause problems for maintainer-clean?
266   shouldn't maintainer-clean print the message before running
267   any part of the make?  (just to slow things down long enough
268   for the user to stop it)
269   (maybe doesn't matter since people who even know about
270   maintainer-clean already have a clue)
272 * There are probably more bugs in variable_conditions_sub along
273   the lines of the one that caused cond4.test to fail.
275 * reintroduce AM_FUNC_FNMATCH which sets LIBOBJS
276   Then have automake know about fnmatch.h.
277     [ probably should wait for autoconf to get right functionality ]
279 * "make diff" capability
280   look at gcc's Makefile.in to see what to do
281   or look at maint program
283 * in --cygnus, clean-info not generated at top level
285 * what if an element of a scanned variable looks like
286         $(FOO).$(BAR)  ?
287   or some other arbitrary thing?
288   right now we try to cope, but not very well
289     [ this is only of theoretical interest for now ]
291 * make sure every variable that is used is also defined
292     [ we don't really look at variable uses in detail.
293       2.0 thing ]
295 * make sure `missing' defines are generated
297 * missing should handle install -d and rmdir -p (for uninstall)
299 * notice when a .c file is a target somewhere, and auto-add it to
300     BUILT_SOURCES
302 * NORMAL_INSTALL / NORMAL_UNINSTALL -vs- recursive rules
303   [ requires changes to the standard ]
305 * copyrights on m4 files, aclocal output
307 * should not put texiname_TEXINFOS into distribution
308   should rename this macro anyway, to foo_texi_DEPENDENCIES
310 * *all* installed scripts should support --version, --help
312 * For now I guess I'll just have automake give an error if it encounters
313 non-C source in a libtool library specification.
315 * must split $obj into two parts: one for libtool and one for
316   deansification.  Otherwise .S files will be deansified!
318 * ansi2knr must currently appear in a directory that has some source
320 * if program has the same name as a target, do something sensible:
321   - if the target is internal, rename it
322   - if the target is mandated (eg, "info"), tell the user
323     consider auto-modifying the program name to work around this
325 * should separate actual options from strictness levels
326   strictness should only cover requirements
327   You should be able to pick and choose options
329 * rewrite in guile (RMS request)
330 at the same time, consider adding a GUI
331 could use the same parsing code for the GUI and the standalone version
332 that means figuring out a better representation of internal state
333 [ that's easy -- anything is better than what we have now ]
335 having just one Makefile for a project would give a big speed increase
336 for a project with many directories, eg glibc.  ideally (?) you'd
337 still be able to have a Makefile.am in each directory somehow; this
338 might make editing conceptually easier.
340 * finish up TAGS work
342 * only remove libtool at top level?
344 * clean up source directory by moving stuff into subdirs
346 * consider adding pkglibexecdir, maybe others?
347   requests for pkg-dirs with version included
349 Avoid loops when installing; instead unroll them in automake
351 * for new autoconf:
352   * completely handle multi-":" mode for AC_CONFIG_HEADER
353   * Scan multiple input files when Makefile is generated?
354     This would provide flexibility for large projects; subsumes
355     the "Makefile.tmpl" idea
357    [ can't do this.  must explain why in manual.
358      basically, solving all the problems is too hard
359      like: how to remove redundancies between generated .in files
360      instead should implement `include' directive for Makefile.am ]
361 * for multi-":" mode and AC_OUTPUT, it might be good to pick the
362   first input file that has a corresponding .am file.
364 Some long-term projects:
365 * if $(FOO) is used somewhere, ensure FOO is defined, either by
366   user or by automake if possible
368 [ include, += support ]
369 * even better would be allowing targets in different included
370   fragments to be merged.  e.g., `install-local'.
372 consider putting all check-* targets onto @check?
373 To support --help/--version checking?
375 take diff-n-query code from libit
377 Per Bothner says:
378 Per> 1) Being able to build a set of non-source programs
379 Per> from source programs, without necessarily linking them together.
380 Per> I.e. one should be able to say something like:
381 Per>    dummy_SOURCES=foo.c bar.c
382 Per> and automake should realize that it needs to build foo.o and bar.o.
383 Per> 2) Being intelligent about new kinds of suffixes.
384 Per> If it sees:
385 Per>    SUFFIXES = .class .java
386 Per> and a suffix rule of the form:
387 Per>    .java.class:
388 Per> then it should be able to realize it can build .class files from
389 Per> .java files, and thus be able to generate a list of
390 Per> .class files from a list of .java source files.
392 !! Must fix require_file stuff.  It is really gross, and I don't
393    understand it any more.
395 Jim's idea: should look for @setfilename and warn if filenames too long
396 * guess split size
398 ** many requests for a way to omit a file from the distribution.
399    Should be done like `!foo' or `~foo' in _SOURCES, etc.
400    Such files should be removed explicitly after the copy step!
401    Doing this requires rewriting macros before generating Makefile.in.
403 from joerg-martin schwarz:
404  -- If Makefile.am contains $(CC), $(COMPILE), $(YLWRAP), ....
405     in an explicitly written rule,  you should emit the corresponding
406     Makefile variables automatically.
408 Configuring in the large:
409 * allow hierarchy of dirs to share one aclocal.m4
410   How?
412 consider printing full file name of Makefile.am or configure.in when
413 giving error.  This would help for very large trees with many
414 configure.in scripts
416 From the GNU Standards.  These things could be checked, and probably
417 should be if --gnu.
418 *    Make sure that the directory into which the distribution unpacks (as
419 well as any subdirectories) are all world-writable (octal mode 777).
420 *   Make sure that no file name in the distribution is more than 14
421 characters long.
422 *    Don't include any symbolic links in the distribution itself.
423      (ditto hard links)
424 *    Make sure that all the files in the distribution are world-readable.
425 ** also, check --help output and --version output.  Idea from François
426 * standards no longer prohibit ANSI C.  What does this imply
427   for the de-ansi-fication feature? [ must keep it -- some users rely on it ]
429 should be able to determine what is built by looking at rules (and
430 configure.in).  Then built man pages (eg) could automatically be
431 omitted from the distribution.
433 Henrik Frystyk Nielsen says:
434 Henrik> 4) Flags like --include-deps are lost when you make changes to
435 Henrik> Makefile.am files and automake is run automatically. It would
436 Henrik> be nice to keep these flags as I now have to redo everything
437 Henrik> manually.
438 ... what about other options here too?
440 Think about: maybe "make check" should just bomb if error occurs?
441 Then user must use "make -k check".  This is probably more natural.
443 Consider: "cvs" option adds some cvs-specific rules?
445 Right now, targets generated internally (eg "install") are not
446 overridable by user code.  This should probably be possible, even
447 though it isn't very important.  This could be done by generating all
448 internal rules via a function call instead of just appending to
449 $output_rules.
450  [ this will be harder to implement when scanning a rule like all-recursive
451    from subdirs.am ]
453 * Should be a way to have "nobuild_PROGRAMS" which aren't even built,
454   but which could be by running the magic make command.
456 Other priorities:
457 * Must rewrite am_install_var.  Should break into multiple functions.
458   This will allow the callers to be a little smarter.
459 * Rewrite clean targets.
460 * Must rewrite error handling code.  Right now it is a real mess
461   Should fix up require_file junk at the same time
463 djm wants ``LINKS'' variable; list of things to link together after
464 install.  In BSD environment, use:
465         LINKS = from1 to1 from2 to2 ...
467 Need way to say there are no suffixes in a Makefile (Franc,ois'
468 "override" idea suffices here)
470 Check to make sure various scripts are executable (IE when looking for
471 them in a directory)
473 Handle dist-zoo.  Generally add more DOS support.  Maybe run "doschk"
474 (why isn't this merged with "pathchk"?) when doing a dist.  Do
475 whatever else François says here...
477 Add support for html via an option.  Use texi2html.  Use
478 "html_TEXINFOS", and htmldir = .../html.  Include html files in
479 distribution.  Also allow "html_DATA", for raw .html files.
480   [ when will texinfo directly support html? ]
482 uninstall and pkg-dirs should rm -rf the dir.
484 a potential bug: configure puts "blah.o" into LIBOBJS, thus implying
485 these files can't be de-ansified.  Not a problem?
486   [ fix by using ansi2knr wrapper program ]
488 In general most .am files should be merged into automake.  For
489 instance all the "clean" targets could be merged by keeping lists of
490 things to be removed.  This would be a lot nicer looking.  Note that
491 the install targets probably should not be merged; it is sometimes
492 useful to only install a small part.
494 * Clean up the output:
495 ** Order rules sensibly
496 ** Ensure every line has a purpose.  Omit unused stuff
497 ** Eliminate extraneous rules when possible (eg 'install-am' stuff)
498 ** Make sure vertical spacing is correct
499 Omit program transform vars from header if no program installed.  This
500 is currently pretty hard to do.  (But with beautification code it
501 would probably be easy)
503 * Lex, yacc support:
504 ** It would be nice to automatically support using bison's better features
505   to rename the output files.  This requires autoconf support
506 ** Consider supporting syntax from autoconf "derived:source", eg:
507         y.tab.c:perly.y
508   for yacc and lex source
509 ** what if you use flex and the option to avoid -lfl?
510   should support this?
512 * Multi-language support:
513 ** should have mapping of file extensions to languages
514 ** should automatically handle the linking issue (special-case C++)
515 ** must get compile rules for various languages; FORTRAN probably
516   most important unimplemented language
517 This should be integrated in some way with Per's idea.
518 Eg .f.o rules should be recognized & auto-handled in _SOURCES
519 That way any random language can be treated with C/C++ on a first-class
520 basis (maybe)
522 It might be cool to generate .texi dependencies by grepping for
523 @include.  (If done, it should be done the same way C dependencies are
524 done)
526 It would be good to check some parts of GNU standards.  Already check
527 for install-sh and mkinstalldirs.  What else is required to be in
528 package by GNU standards or by automake?
529 Some things for --strictness=gnits:
530 * "cd $(foo); something" is an error in a rule.  Should be:
531   "cd $(foo) && something"
532 * Look for 'ln -s' and warn about using $(LN) and AC_PROG_LN_S
533 * Look for $(LN) and require AC_PROG_LN_S
535 Auto-distribute "ChangeLog.[0-9]+"?  "ChangeLog.[a-z]+"?
537 Internationalize. [ gettext doesn't have the necessary machinery yet ]
538 am_error should use printf-style arguments (for eventual gettext scheme)
540 François says the ordering of files in a distribution should be as follows:
541 * README
542 * source files
543 * derived files
544 I agree, but I don't see how to implement this yet.
545 It might be easier if "derived files" is limited to those that
546 Automake itself knows about, eg output of yacc.
548 Check all source files to make sure that FSF address is up-to-date.
549 --gnits or --gnu only.
551 Merge each -vars.am file with corresponding ".am" file.  Can do this
552 because of changes to &file_contents.
554 Should libexec programs have the name transform done on them?
556 Order the output rules sensibly, so FOO_SOURCES and FOO_OBJECTS are
557 together and rules are in the usual order.
559 Make the output minimal: only output definitions for variables that
560 are used.
562 djm says:
563 David> To avoid comments like the one about subdirs getting buried in
564 David> the middle of a Makefile.in, how about pushing comments that
565 David> start with ### to the top of the Makefile.in (in order)?  Sort
566 David> of like how Autoconf uses diversions to force initialization
567 David> code to the top of configure.
569 Karl Berry says:
570 Karl> 2) Your Makefile variable names are generally uppercase, but GNU
571 Karl> generally uses lowercase. Not that it matters :-).
573 ================================================================
575 Stuff for aclocal:
577 probably should put each group of m4 files into a subdir owned by the
578 containing application.
580 ================================================================
582 Document:
584 AM_MISSING_PROG
586 how to use the generated makefiles
587  - standard targets
588  - required targets
589  - NORMAL_INSTALL junk
591 what goes in AC_CONFIG_AUX_DIR
593 multi-":" mode in AC_OUTPUT -- automake only looks at the first file
594     also a note on how a .am file is found in this case
596 rationale for avoiding
597         make CFLAGS="$CFLAGS" ...
598 in subdirs make rule
600 a package that installs its own aclocal macros
602 write example of using automake with dejagnu
603 follow calc example in dejagnu docs
605 document which variables are actually scanned and which are not.
607 Document customary ordering of Makefile.am.  From François.
609 Should include extended version of diagram from Autoconf (suggested by
610 Greg Woods)
612 Make a definition of the term "source"
614 document how to use Automake with CVS.  Idea from Mark Galassi.  Also
615 include Greg Woods' more sophisticated "cvs-dist" target.
617 document rebuilding configure.  CONFIGURE_DEPENDENCIES
618 CONFIG_STATUS_DEPENDENCIES
620 -- must document all variables that are supposed
621    to be public knowledge
623 must document the targets required for integration with
624 non-automake-using subdirs
626 document the "make SHELL='/bin/sh -x'" trick for debugging
628 section on relationship to GNU make.  include notes on parallel makes
630 add a concept index
632 move discussion of cygwin32, etags, mkid under other gnu tools
634 CCLD, CXXLD, FLD
636 ================================================================
638 Things to do for gcc:
640 Regularize dependency generation.  Add new flags:
642 -MH   Generate a dummy dependency for each header file mentioned.
643 -MT NAME
644       Set name of target
645 -MF NAME
646       Set name of output file
648 Then automake can use -MD -MH -MT 'foo.o foo.lo' -MF .deps/...
650 ================================================================
652 Libraries:
654 * Should support standalone library along with subdir library in same
655   Makefile.am.  Maybe: turn off "standalone" mode if library's Makefile.am
656   is not only one specd? [ add an option for this ]
658 ================================================================
660 Longer term:
662 Would it be useful to integrate in some way with the Debian package
663 building utility?  Must check.  maybe it would be possible to deal
664 with all the different package utilities somehow.  Lately I've been
665 hearing good things about the RedHat packaging utilities.  Why are
666 there so many of these?  Are they fun to write or something?
667 The RedHat package utility is called RPM; see
668         ftp://ftp.redhat.com/pub/code/rpm
669 It actually has problems, like no configure script and no documentation.
671 For Cygnus it would probably be good to be able to handle the native
672 package utility on each platform.  There are probably 3 or 4 of these
673 (sysv, solaris?, aix?)
675 tcl/unix/Makefile.in has some code to generate a Solaris package.
677 Automake probably can't do all of this on its own.  A new tool might
678 be a better idea
680 I have some notes from a Debian developer on how the integration
681 should work
683 ================================================================
685 A tool to guess what the local Makefile.am should look like:
686 (see Gord's Maint program!)
688 * Probably integrate with autoscan
689 * Use various simple rules to determine what to do:
690   * get name of top directory, sans version info
691   * search for .c files with 'main' in them
692     * if in main.c, use directory name for program
693     * if in more than one, generate multiple programs
694     * if not found, generate a library named after directory
695   * order subdir searches correctly: lib first, src last
696   * assume 'testsuite' dir means we are using dejagnu
697 * maybe be smart about reading existing Makefile.am, so tool
698   can be run for incremental changes?  You could imagine:
700         Makefile.am:
701                 autoproject --incremental
703 ================================================================
705 Stuff NOT to do, and why:
707 consider auto-including any file that matches "*.in".
708   [ no: po/Makefile.in shouldn't be included ]
710 must look at mkid to see how it works (for subdir usage)
711   [ right now, it doesn't.  i don't see a simple fix right now ]
713 if configure.in not found, move up a directory and try again?  This
714 could eliminate a common source of problems.
715   [ this is just a bad idea ]
717 * scripts are installed in $exec_prefix/bin, not $prefix/bin
718   Bug or feature?
719   [ the consensus on Gnits is that this isn't required.
720     doubters can work around it anyway ]
722 Scan source directories and warn about missing files, eg .c/.h files
723 that aren't mentioned?
724   [ distcheck makes this less useful ]
726 * quoting bugs
727   - how to install file with a space in its name?
728   [ don't bother with this -- make is just too losing ]
730 Local Variables:
731 mode: outline
732 End: