summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-09-23 20:00:05 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-09-26 16:26:29 -0400
commitd11311f66524dd61b4f186bbbc91d0e47b7e4f4d (patch)
tree71305c620216a15dda02439d64dac7418c1b1baf /Makefile
parent03119e29b4bb744478e6e01922da4d50cf4cbcbc (diff)
Makefile: create a standard 'pot' target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 27139ae..dc56eb6 100644
--- a/Makefile
+++ b/Makefile
@@ -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, $$($$*))
################################################################################