wok-current annotate php-auth-pam/stuff/php-auth-pam-Makefile.global0.4.u @ rev 11214
Add from wok-undigest: rlwrap pamtester php-auth-pam python-xlib qoauth gnome-desktop gnome-desktop-dev gnome-ppp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 17:16:52 2011 +0100 (2011-11-03) |
parents | |
children |
rev | line source |
---|---|
pascal@11214 | 1 --- php-auth-pam-0.4-ori/Makefile.global Sat May 8 09:06:20 2010 |
pascal@11214 | 2 +++ php-auth-pam-0.4/Makefile.global Sat May 8 09:07:58 2010 |
pascal@11214 | 3 @@ -24,7 +24,7 @@ |
pascal@11214 | 4 |
pascal@11214 | 5 install-sapi: $(OVERALL_TARGET) |
pascal@11214 | 6 @echo "Installing PHP SAPI module: $(PHP_SAPI)" |
pascal@11214 | 7 - -@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir) |
pascal@11214 | 8 + -@$(mkinstalldirs) $(DESTDIR)$(INSTALL_ROOT)$(bindir) |
pascal@11214 | 9 -@if test ! -r $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME); then \ |
pascal@11214 | 10 for i in 0.0.0 0.0 0; do \ |
pascal@11214 | 11 if test -r $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME).$$i; then \ |
pascal@11214 | 12 @@ -37,19 +37,19 @@ |
pascal@11214 | 13 |
pascal@11214 | 14 install-modules: build-modules |
pascal@11214 | 15 @test -d modules && \ |
pascal@11214 | 16 - $(mkinstalldirs) $(INSTALL_ROOT)$(EXTENSION_DIR) |
pascal@11214 | 17 - @echo "Installing shared extensions: $(INSTALL_ROOT)$(EXTENSION_DIR)/" |
pascal@11214 | 18 + $(mkinstalldirs) $(DESTDIR)$(INSTALL_ROOT)$(EXTENSION_DIR) |
pascal@11214 | 19 + @echo "Installing shared extensions: $(DESTDIR)$(INSTALL_ROOT)$(EXTENSION_DIR)/" |
pascal@11214 | 20 @rm -f modules/*.la >/dev/null 2>&1 |
pascal@11214 | 21 - @$(INSTALL) modules/* $(INSTALL_ROOT)$(EXTENSION_DIR) |
pascal@11214 | 22 + @$(INSTALL) modules/* $(DESTDIR)$(INSTALL_ROOT)$(EXTENSION_DIR) |
pascal@11214 | 23 |
pascal@11214 | 24 install-headers: |
pascal@11214 | 25 -@if test "$(INSTALL_HEADERS)"; then \ |
pascal@11214 | 26 for i in `echo $(INSTALL_HEADERS)`; do \ |
pascal@11214 | 27 i=`$(top_srcdir)/build/shtool path -d $$i`; \ |
pascal@11214 | 28 - paths="$$paths $(INSTALL_ROOT)$(phpincludedir)/$$i"; \ |
pascal@11214 | 29 + paths="$$paths $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/$$i"; \ |
pascal@11214 | 30 done; \ |
pascal@11214 | 31 $(mkinstalldirs) $$paths && \ |
pascal@11214 | 32 - echo "Installing header files: $(INSTALL_ROOT)$(phpincludedir)/" && \ |
pascal@11214 | 33 + echo "Installing header files: $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/" && \ |
pascal@11214 | 34 for i in `echo $(INSTALL_HEADERS)`; do \ |
pascal@11214 | 35 if test "$(PHP_PECL_EXTENSION)"; then \ |
pascal@11214 | 36 src=`echo $$i | $(SED) -e "s#ext/$(PHP_PECL_EXTENSION)/##g"`; \ |
pascal@11214 | 37 @@ -57,12 +57,12 @@ |
pascal@11214 | 38 src=$$i; \ |
pascal@11214 | 39 fi; \ |
pascal@11214 | 40 if test -f "$(top_srcdir)/$$src"; then \ |
pascal@11214 | 41 - $(INSTALL_DATA) $(top_srcdir)/$$src $(INSTALL_ROOT)$(phpincludedir)/$$i; \ |
pascal@11214 | 42 + $(INSTALL_DATA) $(top_srcdir)/$$src $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/$$i; \ |
pascal@11214 | 43 elif test -f "$(top_builddir)/$$src"; then \ |
pascal@11214 | 44 - $(INSTALL_DATA) $(top_builddir)/$$src $(INSTALL_ROOT)$(phpincludedir)/$$i; \ |
pascal@11214 | 45 + $(INSTALL_DATA) $(top_builddir)/$$src $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/$$i; \ |
pascal@11214 | 46 else \ |
pascal@11214 | 47 - (cd $(top_srcdir)/$$src && $(INSTALL_DATA) *.h $(INSTALL_ROOT)$(phpincludedir)/$$i; \ |
pascal@11214 | 48 - cd $(top_builddir)/$$src && $(INSTALL_DATA) *.h $(INSTALL_ROOT)$(phpincludedir)/$$i) 2>/dev/null || true; \ |
pascal@11214 | 49 + (cd $(top_srcdir)/$$src && $(INSTALL_DATA) *.h $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/$$i; \ |
pascal@11214 | 50 + cd $(top_builddir)/$$src && $(INSTALL_DATA) *.h $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/$$i) 2>/dev/null || true; \ |
pascal@11214 | 51 fi \ |
pascal@11214 | 52 done; \ |
pascal@11214 | 53 fi |