diff options
author | Josip Rodin <joy> | 2000-07-13 01:18:56 +0000 |
---|---|---|
committer | Josip Rodin <joy> | 2000-07-13 01:18:56 +0000 |
commit | ad866ee676b5d14543b0b5e231370a1dd51393b5 (patch) | |
tree | b9cf655ac6197423db9141940be5a6fbd3de531f /Makefile | |
parent | a261adf3032e71eaa9a82f347752ac1db5e48322 (diff) |
makefile magic for install rule, too
CVS version numbers
Makefile: 1.18 -> 1.19
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -3,15 +3,17 @@ LANGUAGES := arabic chinese croatian danish dutch english esperanto finnish \ french german hungarian italian japanese korean norwegian \ polish portuguese romanian russian spanish swedish turkish +LANGUAGES-install := $(addsuffix -install,${LANGUAGES}) .SUFFIXES: -.PHONY: install all ${LANGUAGES} +.PHONY: install all ${LANGUAGES} ${LANGUAGES-install} -install: - for d in ${LANGUAGES}; do $(MAKE) -C $$d install; done - -${LANGUAGES}: - ${MAKE} -C $@ +install: ${LANGUAGES-install} all: ${LANGUAGES} +${LANGUAGES-install}: + ${MAKE} -C $(subst -install,,$@) install + +${LANGUAGES}: + ${MAKE} -C $@ |