From: Akihiro MOTOKI Date: Wed, 23 Apr 2014 15:24:46 +0000 (+0900) Subject: (split) LDP: Fix bug in Makefile upgrade X-Git-Tag: LDP-3.65-final~34 X-Git-Url: http://git.osdn.net/view?p=linuxjm%2FLDP_man-pages.git;a=commitdiff_plain;h=a878f8a6cfb0d7ce45c43f0c366a779887dacfd9 (split) LDP: Fix bug in Makefile upgrade --- diff --git a/Makefile b/Makefile index 04c0ffe5..89fd0c01 100644 --- a/Makefile +++ b/Makefile @@ -135,10 +135,15 @@ upgrade: sh ../perkamon/man-pages/scripts/remove_COLOPHON.sh man?/*.[1-8] git add --all original/ git status original | ../../admin/git2upd > upd.txt - ../../admin/upd_tl.perl translation_list upd.txt `grep "^V = " $(PERKAMON_DIR)/Makefile | awk '{print $$2}'` + $(eval VERSION = $(shell grep "^V = " $(PERKAMON_DIR)/Makefile | awk '{print $$3}')) + ../../admin/upd_tl.perl translation_list upd.txt $(VERSION) mv translation_list.* translation_list $(MAKE) FLAGS="--no-translations -v --force" translate-pages $(MAKE) update-stats + git add translation_list + git commit -m "LDP: Update original to LDP v$(VERSION)" original/ translation_list + git add po4a/ stats/ untrans.html + git commit -m "LDP: Update POT and ja.po to LDP v$(VERSION)" po4a/ stats/ untrans.html help: @echo "Available targets:"