diff options
author | wlemb <wlemb> | 2001-08-19 21:32:25 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2001-08-19 21:32:25 +0000 |
commit | eaf33277027de8b8f5a104db588b38e2eddb0ceb (patch) | |
tree | 20e1b89778b74e4665e7820eda994786caeebd2b /Makefile.sub | |
parent | 553ad14abef58812d0b3c49b610dd82c54c30637 (diff) | |
download | groff-eaf33277027de8b8f5a104db588b38e2eddb0ceb.tar.gz |
Use a config.h file.
* src/include/lib.h: Include config.h.
* All C files: Ditto (if necessary).
* All C++ source and header files: Include lib.h first (if
necessary).
* src/include/config.hin: New file (autogenerated by autoheader).
* stamp-h.in: New file.
* configure.ac: Updated.
* aclocal.m4: Add third parameters to AC_DEFINE macros.
(GROFF_ARRAY_DELETE): Simplified.
* Makefile.sub (DISTCLEANFILES): Updated.
Added targets for remaking config.status, config.hin, config.h,
stamp-h.in, and stamp-h.
* configure: Regenerated.
* NEWS: Updated.
Diffstat (limited to 'Makefile.sub')
-rw-r--r-- | Makefile.sub | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/Makefile.sub b/Makefile.sub index 17ac3c1d..7ecd5fc9 100644 --- a/Makefile.sub +++ b/Makefile.sub @@ -1,8 +1,21 @@ -DISTCLEANFILES=config.status config.log config.cache Makefile \ +DISTCLEANFILES=config.h config.status config.log config.cache Makefile \ src/xditview/Imakefile CLEANADD=Makefile.cfg conftest* distfiles: configure -configure: configure.ac aclocal.m4 - cd $(srcdir); autoconf +$(scrdir)/configure: configure.ac aclocal.m4 + cd $(srcdir) && autoconf + +config.status: configure + $(SHELL) config.status --recheck + +# autoheader might not change config.hin, so touch a stamp file. +$(srcdir)/config.hin: stamp-h.in +$(srcdir)/stamp-h.in: configure.ac aclocal.m4 + cd $(srcdir) && autoheader + echo timestamp > $(srcdir)/stamp-h.in + +config.h: stamp-h +stamp-h: config.hin config.status + $(SHELL) config.status |