diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-11-29 13:34:24 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-11-29 13:34:54 +0100 |
commit | fdbb10a0e3f1e36cc28ea5547e08e6ad4b5de526 (patch) | |
tree | 0c484f69f8dee0988fdc309ecd54c1156521a196 | |
parent | 63c07405de27649f1e9ea541c0b4223a80b0f425 (diff) |
simplify
-rw-r--r-- | Makefile.top | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/Makefile.top b/Makefile.top index 2a5a3ce42549..559b300a46bf 100644 --- a/Makefile.top +++ b/Makefile.top @@ -57,14 +57,8 @@ $(1).all: bootstrap fetch ) \ $(SOLARENV)/bin/build.pl -P$(PARALLELISM) --all -- -P$(PARALLELISM) -$(1).build: - cd $(1) && $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) build gb_PARTIALBUILD=T - -$(1).check: - cd $(1) && $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) check gb_PARTIALBUILD=T - -$(1).clean: - cd $(1) && $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) clean gb_PARTIALBUILD=T +$(1).build $(1).check $(1).clean: + cd $(1) && $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) $$(patsubst $(1).%,%,$$@) gb_PARTIALBUILD=T $(1).subsequentcheck: cd $(1) && $(GNUMAKE) -j $(CHECK_PARALLELISM) $(GMAKE_OPTIONS) subsequentcheck gb_PARTIALBUILD=T @@ -385,13 +379,7 @@ check: dev-install subsequentcheck subsequentcheck :| $(if $(filter-out subsequentcheck,$(MAKECMDGOALS)),dev-install) $(GNUMAKE) -j $(CHECK_PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.post $@ -unitcheck: - $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.post $@ - -slowcheck: - $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.post $@ - -debugrun: +unitcheck slowcheck debugrun: $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.post $@ endif # not clean or distclean |