Tue Dec 12 10:06:28 1995 Tom Tromey <tromey@cambric.colorado.edu>
+ * Makefile.am (maintainer-check): Error if ${...} used.
+ * depend.am (DEP_FILES): Prefer $(...).
+
* scripts.am (install-@DIR@SCRIPTS): Only install script if it
exists.
* libraries.am (install-@DIR@LIBRARIES): Only install library if
# Some simple checks:
# * syntax check with perl4 and perl5.
# * make sure the scripts don't use 'true'
+# * expect exactly two instance of '${...}'
# These are only really guaranteed to work on my machine.
maintainer-check: automake
@PERL@ -c -w automake
echo "can't use 'true' in GNU Makefile" 1>&2; \
exit 1; \
else :; fi
+ if test `fgrep '$${' $(srcdir)/[a-z]*.am | wc -l` -ne 2; then \
+ echo "found too many uses of '\$${'" 1>&2; \
+ exit 1; \
+ fi
if test -f /usr/local/bin/perl4.036; then \
/usr/local/bin/perl4.036 -c -w automake; \
else :; fi
MAKEINFO = makeinfo
TEXI2DVI = texi2dvi
-TEXFILES = *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.log *.pg \
-*.toc *.tp *.vr *.op
-
INFOS = automake.info*
INFO_DEPS = automake.info
DVIS = automake.dvi
# Some simple checks:
# * syntax check with perl4 and perl5.
# * make sure the scripts don't use 'true'
+# * expect exactly two instance of '${...}'
# These are only really guaranteed to work on my machine.
maintainer-check: automake
@PERL@ -c -w automake
echo "can't use 'true' in GNU Makefile" 1>&2; \
exit 1; \
else :; fi
+ if test `fgrep '$${' $(srcdir)/[a-z]*.am | wc -l` -ne 2; then \
+ echo "found too many uses of '\$${'" 1>&2; \
+ exit 1; \
+ fi
if test -f /usr/local/bin/perl4.036; then \
/usr/local/bin/perl4.036 -c -w automake; \
else :; fi
Top priorities:
+* Use info_TEXINFOS
+* Figure out how to handle MANS
* am_error should use printf-style arguments (for eventual gettext scheme)
uninstall and pkg-dirs should rm -rf the dir.
+Merge dist*.am files into automake itself; replication is bad.
+
Clean up the output:
* Order rules sensibly
* Ensure every line has a purpose. Omit unused stuff
Need OTHER_SOURCES to hold sources whose objects end up in eg LIBOBJS.
Dependency tracking should work here. Maybe if it doesn't exist it
-should be generated automatically by scanning the directory.
+should be generated automatically by scanning the directory. (yes)
"@kr@" is a hack that should be fixed. And it should be possible to
have ansi2knr in just one place in a package. Jim Meyering says just
rely on configure to make symlinks as appropriate. Not sure how I
feel about this.
-Consider automatic support for ".y" files. At the very least arrange
-to have the corresponding ".c" file be distributed. [last half is done]
+Consider automatic support for ".y" files.
+ [ not right now; it is nice to be able to print the number of
+ expected conflicts, and we can't handle that ]
install-info doesn't have to look in build directory for info files;
just don't support this mode.
Rename --include-deps to --insert-deps?
-Merge common parts of "dist" targets into dist-local.
-
It would be good to check some parts of GNU standards. Already check
for install-sh and mkinstalldirs. What else is required to be in
package by GNU standards or by automake?
MKDEP = gcc -MM
-## Use ${kr} in case we are doing auto-deANSIfication.
-DEP_FILES = $(patsubst %.${kr}o,.deps/%.P,$(OBJECTS))
+## Use $(kr) in case we are doing auto-deANSIfication.
+DEP_FILES = $(patsubst %.$(kr)o,.deps/%.P,$(OBJECTS))
## We use ".P" as the name of our placeholder because it can't be
## duplicated by any C source file. (Well, there could be ".c", but
# Some simple checks:
# * syntax check with perl4 and perl5.
# * make sure the scripts don't use 'true'
+# * expect exactly two instance of '${...}'
# These are only really guaranteed to work on my machine.
maintainer-check: automake
@PERL@ -c -w automake
echo "can't use 'true' in GNU Makefile" 1>&2; \
exit 1; \
else :; fi
+ if test `fgrep '$${' $(srcdir)/[a-z]*.am | wc -l` -ne 2; then \
+ echo "found too many uses of '\$${'" 1>&2; \
+ exit 1; \
+ fi
if test -f /usr/local/bin/perl4.036; then \
/usr/local/bin/perl4.036 -c -w automake; \
else :; fi
MKDEP = gcc -MM
-## Use ${kr} in case we are doing auto-deANSIfication.
-DEP_FILES = $(patsubst %.${kr}o,.deps/%.P,$(OBJECTS))
+## Use $(kr) in case we are doing auto-deANSIfication.
+DEP_FILES = $(patsubst %.$(kr)o,.deps/%.P,$(OBJECTS))
## We use ".P" as the name of our placeholder because it can't be
## duplicated by any C source file. (Well, there could be ".c", but