From f900842de16f1e604fc5b657caa5c548b72c5c65 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 22 Mar 1999 23:00:10 +0000 Subject: [PATCH] (install_build_headers): try to make it work better when list of headers is empty. handle make rewriting the filenames. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5706 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/Makefile.am.common | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cf/Makefile.am.common b/cf/Makefile.am.common index 6584781bb..e3b72bf2e 100644 --- a/cf/Makefile.am.common +++ b/cf/Makefile.am.common @@ -63,8 +63,12 @@ install-suid-programs: install-exec-hook: install-suid-programs install-build-headers:: - @foo='$(include_HEADERS) $(build_HEADERZ)'; \ + @foo='$(include_HEADERS)'; \ + if test -n "$(build_HEADERZ)"; then \ + foo="$$foo $(build_HEADERZ)"; \ + fi; \ for f in $$foo; do \ + f=`basename $$f`; \ if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \ else file="$$f"; fi; \ if cmp -s $$file $(buildinclude)/$$f 2> /dev/null ; then \