summaryrefslogtreecommitdiff
path: root/lib/am/remake-hdr.am
diff options
context:
space:
mode:
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: