projects
/
m6w6
/
ext-psi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (from parent 1:
595c576
)
build: do not clean any shipped files by default
author
Michael Wallner
<mike@php.net>
Tue, 21 Feb 2017 10:59:04 +0000
(11:59 +0100)
committer
Michael Wallner
<mike@php.net>
Tue, 21 Feb 2017 14:33:49 +0000
(15:33 +0100)
Makefile.frag
patch
|
blob
|
history
diff --git
a/Makefile.frag
b/Makefile.frag
index c30e69485338dc2e686817f093d42a5799877046..502b1e21d8d9bb5309e71508c64a3160fe604f7b 100644
(file)
--- a/
Makefile.frag
+++ b/
Makefile.frag
@@
-1,4
+1,4
@@
-# provide headers in builddir, so they do not end up in /usr/include/ext/psi/src
+
git
# provide headers in builddir, so they do not end up in /usr/include/ext/psi/src
PHP_PSI_HEADERS := $(addprefix $(PHP_PSI_BUILDDIR)/,$(PHP_PSI_HEADERS))
PHP_PSI_SOURCES := $(addprefix $(PHP_PSI_SRCDIR)/,$(PHP_PSI_SOURCES))
PHP_PSI_HEADERS := $(addprefix $(PHP_PSI_BUILDDIR)/,$(PHP_PSI_HEADERS))
PHP_PSI_SOURCES := $(addprefix $(PHP_PSI_SRCDIR)/,$(PHP_PSI_SOURCES))
@@
-70,10
+70,6
@@
ifneq ($(PSI_DEPS),)
endif
endif
endif
endif
-install-headers: psi-build-headers
-.PHONY: psi-clean
-clean: psi-clean
-
.PHONY: psi-build-headers
psi-build-headers: $(PHP_PSI_HEADERS)
.PHONY: psi-build-headers
psi-build-headers: $(PHP_PSI_HEADERS)
@@
-81,6
+77,7
@@
psi-build-headers: $(PHP_PSI_HEADERS)
psi-clean-headers:
-rm -f $(PHP_PSI_HEADERS)
psi-clean-headers:
-rm -f $(PHP_PSI_HEADERS)
+.PHONY: psi-clean
psi-clean: psi-clean-headers
.PHONY: psi-clean-objects
psi-clean: psi-clean-headers
.PHONY: psi-clean-objects
@@
-95,8
+92,15
@@
psi-clean-generated:
-rm -f $(PHP_PSI_GENERATED)
.PHONY: psi-clean-aux
-rm -f $(PHP_PSI_GENERATED)
.PHONY: psi-clean-aux
-psi-clean-aux:
- -rm -f $(PHP_PSI_BUILDDIR)/lempar.c $(PHP_PSI_BUILDDIR)/lemon.c $(PHP_PSI_BUILDDIR)/lemon
+psi-clean-aux: psi-clean-aux-bin psi-clean-aux-src
+
+.PHONY: psi-clean-aux-src
+psi-clean-aux-src:
+ -rm -f $(PHP_PSI_BUILDDIR)/lempar.c $(PHP_PSI_BUILDDIR)/lemon.c
+
+.PHONY: psi-clean-aux-bin
+psi-clean-aux-bin:
+ -rm -f $(PHP_PSI_BUILDDIR)/lemon
psi-clean: psi-clean-aux
psi-clean: psi-clean-aux
@@
-106,3
+110,8
@@
psi-clean-depend:
psi-clean: psi-clean-depend
psi-clean: psi-clean-depend
+install-headers: psi-build-headers
+clean: psi-clean-headers psi-clean-aux
+ifneq ($(PSI_DEPS),)
+clean: psi-clean-depend
+endif