2 make pre-clean-local-hook
3 make
$(CONFIG
)_BeforeClean
5 make
$(CONFIG
)_AfterClean
6 make post-clean-local-hook
12 make pre-dist-local-hook distdir
=$$distdir
13 list
='$(EXTRA_DIST)'; \
14 for f in Makefile
$$list; do \
16 test -d
"$(distdir)/$$d" || \
17 mkdir
-p
"$(distdir)/$$d"; \
18 cp
-p
"$$f" "$(distdir)/$$d" || exit
1; \
20 make post-dist-local-hook distdir
=$$distdir
23 for
dir in
$(SUBDIRS
); do \
24 mkdir
-p
$(distdir
)/$$dir || true
; \
26 .
) make dist-local distdir
=$(distdir
) || exit
1;; \
27 *) (cd
$$dir; make dist-local distdir
=$(distdir
)/$$dir) || exit
1; \
31 #hooks: Available hooks - all, clean, install, uninstall and dist
32 # and their *-local variants
36 #targets for custom commands