Skip to content

Commit

Permalink
MF51:- Fixed bug #34850 (--program-suffix and --program-prefix not in…
Browse files Browse the repository at this point in the history
…cluded in man page names)
  • Loading branch information
foobar committed Oct 13, 2005
1 parent 9e2fdf2 commit 27d2fe0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sapi/cli/Makefile.frag
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ install-cli: $(SAPI_CLI_PATH)
@$(INSTALL_CLI)
@echo "Installing PHP CLI man page: $(INSTALL_ROOT)$(mandir)/man1/"
@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
@$(INSTALL_DATA) $(builddir)/php.1 $(INSTALL_ROOT)$(mandir)/man1/php.1
@$(INSTALL_DATA) $(builddir)/php.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)php$(program_suffix).1
10 changes: 5 additions & 5 deletions scripts/Makefile.frag
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ BUILD_FILES_EXEC = \
config.sub

bin_SCRIPTS = phpize php-config
man_PAGES = phpize.1 php-config.1
man_PAGES = phpize php-config

install-build:
@echo "Installing build environment: $(INSTALL_ROOT)$(phpbuilddir)/"
Expand Down Expand Up @@ -53,14 +53,14 @@ install-headers:
install-programs: $(builddir)/phpize $(builddir)/php-config
@echo "Installing helper programs: $(INSTALL_ROOT)$(bindir)/"
@for prog in $(bin_SCRIPTS); do \
echo " program: $(program_prefix)$$prog$(program_suffix)"; \
$(INSTALL) -m 755 $(builddir)/$$prog $(INSTALL_ROOT)$(bindir)/$(program_prefix)$$prog$(program_suffix); \
echo " program: $(program_prefix)$${prog}$(program_suffix)"; \
$(INSTALL) -m 755 $(builddir)/$${prog} $(INSTALL_ROOT)$(bindir)/$(program_prefix)$${prog}$(program_suffix); \
done
@echo "Installing man pages: $(INSTALL_ROOT)$(mandir)/man1/"
@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
@for page in $(man_PAGES); do \
echo " page: $$page"; \
$(INSTALL_DATA) $(builddir)/man1/$$page $(INSTALL_ROOT)$(mandir)/man1/$$page; \
echo " page: $(program_prefix)$${page}$(program_suffix).1"; \
$(INSTALL_DATA) $(builddir)/man1/$${page}.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)$${page}$(program_suffix).1; \
done

$(builddir)/phpize: $(srcdir)/phpize.in $(top_builddir)/config.status
Expand Down

0 comments on commit 27d2fe0

Please sign in to comment.