summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-05-02 20:08:54 +0000
committerSascha Schumann <sas@php.net>2000-05-02 20:08:54 +0000
commit733d94909f44954f95ac2e49a2eb4bac4ae1bf7f (patch)
tree9f2c77af934a8965fc5dbfef201bd1e3a2b3cf4e /Makefile.in
parent52288d4f05b1af931a61c951ad9b28a794b2fd88 (diff)
downloadphp-git-733d94909f44954f95ac2e49a2eb4bac4ae1bf7f.tar.gz
Move install-modules target into top-level Makefile template
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 705479e397..cf7264b79a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -40,6 +40,13 @@ install-local:
-@$(mkinstalldirs) $(bindir)
$(INSTALL_IT)
+install-modules:
+ @test -d modules && \
+ $(mkinstalldirs) $(moduledir) && \
+ echo "installing shared modules into $(moduledir)" && \
+ rm -f modules/*.la && \
+ cp modules/* $(moduledir) || true
+
configuration-parser.h configuration-parser.c: $(srcdir)/configuration-parser.y
$(YACC) -p cfg -v -d $< -o configuration-parser.c