wok-current diff php-auth-pam/stuff/php-auth-pam-Makefile.global0.4.u @ rev 22540

updated bison (2.6.5 -> 3.5)
author Hans-G?nter Theisgen
date Fri Jan 03 16:33:16 2020 +0100 (2020-01-03)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/php-auth-pam/stuff/php-auth-pam-Makefile.global0.4.u	Fri Jan 03 16:33:16 2020 +0100
     1.3 @@ -0,0 +1,53 @@
     1.4 +--- php-auth-pam-0.4-ori/Makefile.global	Sat May  8 09:06:20 2010
     1.5 ++++ php-auth-pam-0.4/Makefile.global	Sat May  8 09:07:58 2010
     1.6 +@@ -24,7 +24,7 @@
     1.7 + 
     1.8 + install-sapi: $(OVERALL_TARGET)
     1.9 + 	@echo "Installing PHP SAPI module:       $(PHP_SAPI)"
    1.10 +-	-@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir)
    1.11 ++	-@$(mkinstalldirs) $(DESTDIR)$(INSTALL_ROOT)$(bindir)
    1.12 + 	-@if test ! -r $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME); then \
    1.13 + 		for i in 0.0.0 0.0 0; do \
    1.14 + 			if test -r $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME).$$i; then \
    1.15 +@@ -37,19 +37,19 @@
    1.16 + 
    1.17 + install-modules: build-modules
    1.18 + 	@test -d modules && \
    1.19 +-	$(mkinstalldirs) $(INSTALL_ROOT)$(EXTENSION_DIR)
    1.20 +-	@echo "Installing shared extensions:     $(INSTALL_ROOT)$(EXTENSION_DIR)/"
    1.21 ++	$(mkinstalldirs) $(DESTDIR)$(INSTALL_ROOT)$(EXTENSION_DIR)
    1.22 ++	@echo "Installing shared extensions:     $(DESTDIR)$(INSTALL_ROOT)$(EXTENSION_DIR)/"
    1.23 + 	@rm -f modules/*.la >/dev/null 2>&1
    1.24 +-	@$(INSTALL) modules/* $(INSTALL_ROOT)$(EXTENSION_DIR)
    1.25 ++	@$(INSTALL) modules/* $(DESTDIR)$(INSTALL_ROOT)$(EXTENSION_DIR)
    1.26 + 
    1.27 + install-headers:
    1.28 + 	-@if test "$(INSTALL_HEADERS)"; then \
    1.29 + 		for i in `echo $(INSTALL_HEADERS)`; do \
    1.30 + 			i=`$(top_srcdir)/build/shtool path -d $$i`; \
    1.31 +-			paths="$$paths $(INSTALL_ROOT)$(phpincludedir)/$$i"; \
    1.32 ++			paths="$$paths $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/$$i"; \
    1.33 + 		done; \
    1.34 + 		$(mkinstalldirs) $$paths && \
    1.35 +-		echo "Installing header files:          $(INSTALL_ROOT)$(phpincludedir)/" && \
    1.36 ++		echo "Installing header files:          $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/" && \
    1.37 + 		for i in `echo $(INSTALL_HEADERS)`; do \
    1.38 + 			if test "$(PHP_PECL_EXTENSION)"; then \
    1.39 + 				src=`echo $$i | $(SED) -e "s#ext/$(PHP_PECL_EXTENSION)/##g"`; \
    1.40 +@@ -57,12 +57,12 @@
    1.41 + 				src=$$i; \
    1.42 + 			fi; \
    1.43 + 			if test -f "$(top_srcdir)/$$src"; then \
    1.44 +-				$(INSTALL_DATA) $(top_srcdir)/$$src $(INSTALL_ROOT)$(phpincludedir)/$$i; \
    1.45 ++				$(INSTALL_DATA) $(top_srcdir)/$$src $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/$$i; \
    1.46 + 			elif test -f "$(top_builddir)/$$src"; then \
    1.47 +-				$(INSTALL_DATA) $(top_builddir)/$$src $(INSTALL_ROOT)$(phpincludedir)/$$i; \
    1.48 ++				$(INSTALL_DATA) $(top_builddir)/$$src $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/$$i; \
    1.49 + 			else \
    1.50 +-				(cd $(top_srcdir)/$$src && $(INSTALL_DATA) *.h $(INSTALL_ROOT)$(phpincludedir)/$$i; \
    1.51 +-				cd $(top_builddir)/$$src && $(INSTALL_DATA) *.h $(INSTALL_ROOT)$(phpincludedir)/$$i) 2>/dev/null || true; \
    1.52 ++				(cd $(top_srcdir)/$$src && $(INSTALL_DATA) *.h $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/$$i; \
    1.53 ++				cd $(top_builddir)/$$src && $(INSTALL_DATA) *.h $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/$$i) 2>/dev/null || true; \
    1.54 + 			fi \
    1.55 + 		done; \
    1.56 + 	fi