* Makefile.am:
[monodevelop.git] / extras / PyBinding / rules.make
bloba4f37a1fd13b7744a7858c75e87ac9033c119211
1 clean-local:
2 make pre-clean-local-hook
3 make $(CONFIG)_BeforeClean
4 -rm -f $(call quote_each,$(CLEANFILES))
5 make $(CONFIG)_AfterClean
6 make post-clean-local-hook
8 install-local:
9 uninstall-local:
11 q2quote = '$(subst ?, ,$1)'
12 quote_each = $(foreach f,$(call s2q,$1),$(call q2quote,$f))
14 dist-local:
15 make pre-dist-local-hook "distdir=$$distdir"
16 for f in Makefile $(call quote_each,$(EXTRA_DIST)); do \
17 d=`dirname "$$f"`; \
18 test -d "$(distdir)/$$d" || \
19 mkdir -p "$(distdir)/$$d"; \
20 cp -p "$$f" "$(distdir)/$$d" || exit 1; \
21 done
22 make post-dist-local-hook "distdir=$$distdir"
24 dist-local-recursive:
25 for dir in $(call quote_each,$(SUBDIRS)); do \
26 mkdir -p "$(distdir)/$$dir" || true; \
27 case "$$dir" in \
28 .) make dist-local "distdir=$(distdir)" || exit 1;; \
29 *) (cd "$$dir"; make dist-local "distdir=$(distdir)/$$dir") || exit 1; \
30 esac \
31 done
33 #hooks: Available hooks - all, clean, install, uninstall and dist
34 # and their *-local variants
35 pre-%-hook: ; @:
36 post-%-hook: ; @:
38 #targets for custom commands
39 %_BeforeBuild: ; @:
40 %_AfterBuild: ; @:
41 %_BeforeClean: ; @:
42 %_AfterClean: ; @: