summaryrefslogtreecommitdiff
path: root/devel/ice/files/patch-php-lib-Makefile
blob: 3fdfa1d4d653d1a1ff427917fa73e8532d6dd194 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- php/lib/Makefile.orig	2019-08-12 19:54:18 UTC
+++ php/lib/Makefile
@@ -164,7 +164,8 @@ install:: $(ALL_SRCS)
 	@echo "Installing generated code"
 	@for i in $(MODULES) ; \
 	do \
-	    $(INSTALL_DATA) -r $$i $(DESTDIR)$(install_phpdir) ; \
+	    mkdir -p $(DESTDIR)$(install_phpdir)/$$i ; \
+	    $(INSTALL_DATA) $$i/*.php $(DESTDIR)$(install_phpdir)/$$i ; \
 	done
 	@for i in $(MODULE_SRCS) ; \
 	do \