diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/conclude.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/config/conclude.in b/config/conclude.in index 3b82c06..28dfc36 100644 --- a/config/conclude.in +++ b/config/conclude.in @@ -55,8 +55,13 @@ install: $(LIB) $(PUB_HDR) $(PROGS) @test -d $(includedir) || mkdir $(includedir) @for f in X $(PUB_HDR); do \ if test $$f != X; then \ - (set -x; $(INSTALL_DATA) $$f $(includedir)/. || exit 1); \ - fi \ + if test -f $$f; then \ + (set -x; $(INSTALL_DATA) $$f $(includedir)/. || exit 1); \ + else \ + (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(includedir)/. || \ + exit 1); \ + fi; \ + fi; \ done @test -d $(bindir) || mkdir $(bindir) @for f in X $(PROGS); do \ |