summaryrefslogtreecommitdiff
path: root/lib/am/remake-hdr.am
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1996-09-20 15:55:22 +0000
committerTom Tromey <tromey@redhat.com>1996-09-20 15:55:22 +0000
commit54c01922a4a95ca37ef50e441471bad2c817ba85 (patch)
tree2ebca13630ad8a896140e3c900106b1d559e54bc /lib/am/remake-hdr.am
parent151c476864710441055bf6e03b7215fc84552c2d (diff)
downloadautomake-54c01922a4a95ca37ef50e441471bad2c817ba85.tar.gz
Allow config.h in subdir; other config.h cleanups
Diffstat (limited to 'lib/am/remake-hdr.am')
-rw-r--r--lib/am/remake-hdr.am14
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/am/remake-hdr.am b/lib/am/remake-hdr.am
index f7fad831c..efc60c7bf 100644
--- a/lib/am/remake-hdr.am
+++ b/lib/am/remake-hdr.am
@@ -17,9 +17,19 @@
## 02111-1307, USA.
$(CONFIG_HEADER): stamp-h
stamp-h: $(CONFIG_HEADER_IN) config.status
- CONFIG_FILES= CONFIG_HEADERS=$(CONFIG_HEADER) ./config.status
+ cd $(top_builddir) \
+ && CONFIG_FILES= CONFIG_HEADERS=$(CONFIG_HEADER) ./config.status
@echo timestamp > stamp-h
$(srcdir)/$(CONFIG_HEADER_IN): @MAINT@stamp-h.in
$(srcdir)/stamp-h.in: configure.in $(ACLOCAL) $(ACCONFIG) $(CONFIG_TOP) $(CONFIG_BOT)
- cd $(srcdir) && autoheader
+ cd $(top_srcdir) && autoheader
echo timestamp > $(srcdir)/stamp-h.in
+
+mostlyclean-hdr:
+
+clean-hdr:
+
+distclean-hdr:
+ rm -f $(CONFIG_HEADER)
+
+maintainer-clean-hdr: