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