diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -4,7 +4,7 @@ include config.mk ################################################################################ # these are the resulting packages -packages=doc libretools libretools-mips64el librelib libregit +packages=doc libretools libretools-mips64el librelib gitget # and which directories they contain doc=doc libretools=\ @@ -17,7 +17,7 @@ libretools=\ src/toru libretools-mips64el=src/mips64el-tools librelib=src/lib -libregit=src/libregit +gitget=src/gitget ################################################################################ @@ -26,23 +26,25 @@ copy: PHONY $(addprefix copy-, $(packages)) build: PHONY $(addprefix build-, $(packages)) install: PHONY $(addprefix install-,$(packages)) clean: PHONY $(addprefix clean-, $(packages)) +pot: PHONY $(addprefix pot-, $(filter-out doc,$(packages))) check: @cd test && ./testenv $(TESTENVFLAGS) roundup -%/copy: PHONY % - $(MAKE) -C $* copy %/build: PHONY % $(MAKE) -C $* %/install: PHONY % $(MAKE) -C $* install %/clean: PHONY % $(MAKE) -C $* clean +%/pot: PHONY % + $(MAKE) -C $* pot .SECONDEXPANSION: $(addprefix copy-, $(packages)): copy-%: PHONY $$(addsuffix /copy, $$($$*)) $(addprefix build-, $(packages)): build-%: PHONY $$(addsuffix /build, $$($$*)) $(addprefix install-,$(packages)): install-%: PHONY $$(addsuffix /install,$$($$*)) $(addprefix clean-, $(packages)): clean-%: PHONY $$(addsuffix /clean, $$($$*)) +$(addprefix pot-, $(packages)): pot-%: PHONY $$(addsuffix /pot, $$($$*)) ################################################################################ |