Skip to content

Commit

Permalink
improve Makefile
Browse files Browse the repository at this point in the history
 * Change target `translations` to only be remade if one of
   the `*.po` files changes. Technically is only directly depends
   on these files.
  • Loading branch information
Fadiabb committed Feb 13, 2019
1 parent a30ef09 commit 49e28cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ translations: ./$(OUTPUT_DIR)/translations.json
fi; \
done;

$(OUTPUT_DIR)/translations.json: clean /tmp/template.pot
$(OUTPUT_DIR)/translations.json: $(LOCALE_FILES)
mkdir -p $(OUTPUT_DIR)
gettext-compile --output $@ $(LOCALE_FILES)

0 comments on commit 49e28cd

Please sign in to comment.