summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-01-22 14:38:07 +0000
committerRichard W.M. Jones <rjones@redhat.com>2012-01-23 18:16:15 +0000
commitba2663e5cfbbe7b32b51bd6fc8bdd463e4daf1a1 (patch)
tree64a3854e159c0bfff4840167a00dbe5f10ed217d
parentc572bfd11b457ae2136566bb6483171622738138 (diff)
downloadlibguestfs-ba2663e5cfbbe7b32b51bd6fc8bdd463e4daf1a1.tar.gz
libguestfs-ba2663e5cfbbe7b32b51bd6fc8bdd463e4daf1a1.tar.xz
libguestfs-ba2663e5cfbbe7b32b51bd6fc8bdd463e4daf1a1.zip
php: Enable 'make clean' in extension subdirectory.
(cherry picked from commit 4f868b84d6e7c387e27f50aae54476bc97a70bc2)
-rw-r--r--php/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/php/Makefile.am b/php/Makefile.am
index 828960c6..7652b66e 100644
--- a/php/Makefile.am
+++ b/php/Makefile.am
@@ -49,10 +49,10 @@ extension/config.h: extension/config.m4 ../config.status
TESTS = run-php-tests.sh
-# Amazingly the PHP-installed extension Makefile doesn't have a
-# 'make clean' rule.
-#clean-local:
-# $(MAKE) -C extension clean
+# Before PHP 5.4.0, the extension directory didn't have a 'make clean'
+# rule. Therefore, don't die if this fails.
+clean-local:
+ -$(MAKE) -C extension clean
install-data-hook:
$(MAKE) -C extension INSTALL_ROOT=$(DESTDIR) install