diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-23 20:00:05 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-26 16:26:29 -0400 |
commit | d11311f66524dd61b4f186bbbc91d0e47b7e4f4d (patch) | |
tree | 71305c620216a15dda02439d64dac7418c1b1baf /Makefile | |
parent | 03119e29b4bb744478e6e01922da4d50cf4cbcbc (diff) |
Makefile: create a standard 'pot' target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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, $$($$*)) ################################################################################ |