~ubuntu-branches/ubuntu/karmic/monodevelop-java/karmic

1 by Mirco Bauer
Import upstream version 1.0
1
clean-local:
2
	make pre-clean-local-hook
3
	make $(CONFIG)_BeforeClean
4
	-rm -f $(CLEANFILES)
5
	make $(CONFIG)_AfterClean
6
	make post-clean-local-hook
7
8
install-local:
9
uninstall-local:
10
11
dist-local:
12
	make pre-dist-local-hook distdir=$$distdir
13
	list='$(EXTRA_DIST)'; \
14
	for f in Makefile $$list; do \
15
		d=`dirname "$$f"`; \
16
		test -d "$(distdir)/$$d" || \
17
			mkdir -p "$(distdir)/$$d"; \
18
		cp -p "$$f" "$(distdir)/$$d" || exit 1; \
19
	done
20
	make post-dist-local-hook distdir=$$distdir
21
22
dist-local-recursive:
23
	for dir in $(SUBDIRS); do \
24
		mkdir -p $(distdir)/$$dir || true; \
25
		case $$dir in \
26
		.) make dist-local distdir=$(distdir) || exit 1;; \
27
		*) (cd $$dir; make dist-local distdir=$(distdir)/$$dir) || exit 1; \
28
		esac \
29
	done
30
31
#hooks: Available hooks - all, clean, install, uninstall and dist
32
#	and their *-local variants
33
pre-%-hook: ; @:
34
post-%-hook: ; @:
35
36
#targets for custom commands
37
%_BeforeBuild: ; @:
38
%_AfterBuild: ; @:
39
%_BeforeClean: ; @:
40
%_AfterClean: ; @: