default: all
.SUFFIXES:
-.SUFFIXES: .texi .texinfo .info .dvi .ps
+.SUFFIXES: .dvi .info .ps .texi .texinfo
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnits Makefile
cd $(top_builddir) \
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
-$(srcdir)/aclocal.m4: configure.in
+$(ACLOCAL_M4): configure.in
cd $(srcdir) && $(ACLOCAL)
-config.status: configure
+config.status: $(srcdir)/configure
$(SHELL) ./config.status --recheck
-$(srcdir)/configure: configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)
automake: $(top_builddir)/config.status automake.in
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
fi
rm -rf $(distdir)
mkdir $(distdir)
- -chmod 755 $(distdir)
- here=`pwd`; distdir=`cd $(distdir) && pwd` \
- && cd $(srcdir) \
- && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(srcdir) --output-dir=$$distdir --gnits
+ -chmod 777 $(distdir)
+ here=`cd $(top_builddir) && pwd`; top_distdir=`cd $$top_distdir && pwd` \
+ && cd $(top_srcdir) \
+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits Makefile
@for file in $(DISTFILES); do \
d=$(srcdir); \
test -f $(distdir)/$$file \
test -d $(distdir)/$$subdir \
|| mkdir $(distdir)/$$subdir \
|| exit 1; \
- chmod 755 $(distdir)/$$subdir; \
- (cd $$subdir && $(MAKE) distdir=../$(distdir)/$$subdir distdir) \
+ chmod 777 $(distdir)/$$subdir; \
+ (cd $$subdir && $(MAKE) top_distdir=$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
|| exit 1; \
done
- $(MAKE) distdir="$(distdir)" dist-info
+ $(MAKE) top_distdir="$(distdir)" distdir="$(distdir)" dist-info
info: $(INFO_DEPS) info-recursive
dvi: $(DVIS) dvi-recursive
check: all-am
$(MAKE) check-recursive
installcheck: installcheck-recursive installcheck-local
-all-am: $(INFO_DEPS) $(SCRIPTS) $(DATA) Makefile
+all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(DATA)
install-exec-am: install-binSCRIPTS
file into the .deps directory. That is, create the dependencies
as a side effect of compilation
This still won't solve the file-deletion problem
+ [ also: jim makes distributions by checking out, configuring,
+ and running "make dist". This scheme would cause that to fail ]
* copyrights on m4 files, aclocal output
at the same time, consider adding a GUI
could use the same parsing code for the GUI and the standalone version
that means figuring out a better representation of internal state
+[ that's easy -- anything is better than what we have now ]
having just one Makefile for a project would give a big speed increase
for a project with many directories, eg glibc. ideally (?) you'd