]> granicus.if.org Git - php/commitdiff
- We've man pages just fine
authorDerick Rethans <derick@php.net>
Mon, 6 Jun 2005 11:24:16 +0000 (11:24 +0000)
committerDerick Rethans <derick@php.net>
Mon, 6 Jun 2005 11:24:16 +0000 (11:24 +0000)
scripts/Makefile.frag

index 93670845c81f05b321f06cc1ff120600836c3962..c4f2127f5246781c78241678d7c2051cb10b69f9 100644 (file)
@@ -21,6 +21,7 @@ BUILD_FILES_EXEC = \
        config.sub
 
 bin_SCRIPTS = phpize php-config
+bin_src_SCRIPTS = 
 
 install-build:
        @echo "Installing build environment:     $(INSTALL_ROOT)$(phpbuilddir)/"
@@ -62,6 +63,16 @@ install-programs: $(builddir)/phpize $(builddir)/php-config
                echo "  program: $(program_prefix)$$prog$(program_suffix)"; \
                $(INSTALL) -m 755 $(builddir)/$$prog $(INSTALL_ROOT)$(bindir)/$(program_prefix)$$prog$(program_suffix); \
        done
+       @for prog in $(bin_src_SCRIPTS); do \
+               echo "  program: $(program_prefix)$$prog$(program_suffix)"; \
+               $(INSTALL) -m 755 $(top_srcdir)/scripts/$$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; \
+       done
        
 $(builddir)/phpize: $(srcdir)/phpize.in $(top_builddir)/config.status
        (CONFIG_FILES=$@ CONFIG_HEADERS= $(top_builddir)/config.status)