summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-10-13 10:02:59 (GMT)
committerfoobar <sniper@php.net>2005-10-13 10:02:59 (GMT)
commit3fbee80f3518b759a618dfc9004342dfe0696892 (patch)
treec786749125d066064a044995cf65597ba6862135 /scripts
parent428006f54d90daa400969bb8a3958d59e2b72355 (diff)
downloadphp-3fbee80f3518b759a618dfc9004342dfe0696892.tar.gz
- Fixed bug #34850 (--program-suffix and --program-prefix not included in man page names)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.frag10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/Makefile.frag b/scripts/Makefile.frag
index 93c48be..61783d7 100644
--- a/scripts/Makefile.frag
+++ b/scripts/Makefile.frag
@@ -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)/"
@@ -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