File: Makefile.frag

package info (click to toggle)
php-propro 2.0.1%2B1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 260 kB
  • ctags: 106
  • sloc: ansic: 1,001; xml: 129; php: 18; makefile: 1
file content (16 lines) | stat: -rw-r--r-- 460 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# provide headers in builddir, so they do not end up in /usr/include/ext/propro/src

PHP_PROPRO_HEADERS := $(addprefix $(PHP_PROPRO_BUILDDIR)/,$(PHP_PROPRO_HEADERS))

$(PHP_PROPRO_BUILDDIR)/%.h: $(PHP_PROPRO_SRCDIR)/src/%.h
	@cat >$@ <$<

$(all_targets): propro-build-headers
clean: propro-clean-headers

.PHONY: propro-build-headers
propro-build-headers: $(PHP_PROPRO_HEADERS)

.PHONY: propro-clean-headers
propro-clean-headers:
	-rm -f $(PHP_PROPRO_HEADERS)