php/php-man.patch
2014-07-07 11:24:17 +02:00

27 lines
1022 B
Diff

From 07d227229771015600789ae36e3b12ce29b1f339 Mon Sep 17 00:00:00 2001
From: Andy Thompson <me@andytson.com>
Date: Sat, 5 Jul 2014 13:05:05 +0100
Subject: [PATCH] Fix phpdbg.1 man page installation when build != src
directory
---
Makefile.frag | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.frag b/Makefile.frag
index b276aaa..36c7512 100644
--- a/sapi/phpdbg/Makefile.frag
+++ b/sapi/phpdbg/Makefile.frag
@@ -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 ..."
--
1.9.2