Skip to content

Commit ba65286

Browse files
committed
Merge pull request #104 from andytson/feature/rpm-build-fix
Fix phpdbg.1 man page installation when build != src directory
2 parents 82f0b93 + 07d2272 commit ba65286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.frag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ install-phpdbg: $(BUILD_BINARY)
2828
@$(INSTALL) -m 0755 $(BUILD_BINARY) $(INSTALL_ROOT)$(bindir)/$(program_prefix)phpdbg$(program_suffix)$(EXEEXT)
2929
@echo "Installing phpdbg man page: $(INSTALL_ROOT)$(mandir)/man1/"
3030
@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
31-
@$(INSTALL_DATA) sapi/phpdbg/phpdbg.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)phpdbg$(program_suffix).1
31+
@$(INSTALL_DATA) $(srcdir)/phpdbg.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)phpdbg$(program_suffix).1
3232

3333
clean-phpdbg:
3434
@echo "Cleaning phpdbg object files ..."

0 commit comments

Comments
 (0)