]> granicus.if.org Git - php/commitdiff
Copy the headers
authorIlia Alshanetsky <iliaa@php.net>
Wed, 19 May 2004 14:27:32 +0000 (14:27 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 19 May 2004 14:27:32 +0000 (14:27 +0000)
ext/pdo/Makefile.frag

index 1b344236085705378f40307b3866e0be994af526..46bba338eff61a4b74b0988f03ce0afd0220728a 100644 (file)
@@ -8,10 +8,10 @@ install-pdo-headers:
        echo "Installing PDO headers:          $(INSTALL_ROOT)$(phpincludedir)/ext/pdo/"
        $(mkinstalldirs) $(INSTALL_ROOT)$(phpincludedir)/ext/pdo
        for f in $(PDO_HEADER_FILES); do \
-               if test -f "$(top_srcdir)/$$f"; then \
-                       $(INSTALL_DATA) $(top_srcdir)/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/pdo; \
-               elif test -f "$(top_builddir)/$$f"; then \
-                       $(INSTALL_DATA) $(top_builddir)/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/pdo; \
+               if test -f "$(top_srcdir)/ext/pdo/$$f"; then \
+                       $(INSTALL_DATA) $(top_srcdir)/ext/pdo/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/pdo; \
+               elif test -f "$(top_builddir)/ext/pdo/$$f"; then \
+                       $(INSTALL_DATA) $(top_builddir)/ext/pdo/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/pdo; \
                else \
                        echo "hmmm"; \
                fi \