Fix phpdbg.1 man page installation when build != src directory
authorAndy Thompson <me@andytson.com>
Sat, 5 Jul 2014 12:05:05 +0000 (13:05 +0100)
committerAndy Thompson <me@andytson.com>
Sat, 5 Jul 2014 12:05:05 +0000 (13:05 +0100)
Makefile.frag

index b276aaaa53486faaeb9c0c0812605cb65362d871..36c7512d6971f74441426eced947c0d2d5d5b266 100644 (file)
@@ -28,7 +28,7 @@ install-phpdbg: $(BUILD_BINARY)
        @$(INSTALL) -m 0755 $(BUILD_BINARY) $(INSTALL_ROOT)$(bindir)/$(program_prefix)phpdbg$(program_suffix)$(EXEEXT)
        @echo "Installing phpdbg man page:       $(INSTALL_ROOT)$(mandir)/man1/"
        @$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
-       @$(INSTALL_DATA) sapi/phpdbg/phpdbg.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)phpdbg$(program_suffix).1
+       @$(INSTALL_DATA) $(srcdir)/phpdbg.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)phpdbg$(program_suffix).1
 
 clean-phpdbg:
        @echo "Cleaning phpdbg object files ..."