OSSP CVS Repository

ossp - Difference in ossp-pkg/uuid/php/Makefile.local versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/uuid/php/Makefile.local 1.1 -> 1.2

--- Makefile.local       2005/09/01 22:24:02     1.1
+++ Makefile.local       2005/09/02 14:40:13     1.2
@@ -27,8 +27,9 @@
 ##  Makefile.local: PHP/Zend API build procedure (language: make)
 ##
 
-PHP    = php
-EXTDIR = `$(PHP)-config --extension-dir`
+PHP     = php
+EXTDIR  = `$(PHP)-config --extension-dir`
+DESTDIR =
 
 all: build
 
@@ -46,9 +47,9 @@
 install: build
         @version=`$(PHP)-config --version | sed -e 's;^\([0-9]\).*$$;\1;'`; extdir="$(EXTDIR)"; \
         echo "installing PHP$$version API into $$extdir"; \
-        ./build/shtool mkdir -f -p -m 755 $$extdir; \
-        ./build/shtool install -c -m 755 modules/uuid.so $$extdir/uuid.so; \
-        ./build/shtool install -c -m 644 uuid.php$$version $$extdir/uuid.php
+        ./build/shtool mkdir -f -p -m 755 $(DESTDIR)$$extdir; \
+        ./build/shtool install -c -m 755 modules/uuid.so $(DESTDIR)$$extdir/uuid.so; \
+        ./build/shtool install -c -m 644 uuid.php$$version $(DESTDIR)$$extdir/uuid.php
 
 clean:
         @$(MAKE) $(MFLAGS) -f Makefile clean || true

CVSTrac 2.0.1