OSDN Git Service
(root)
/
linuxjm
/
LDP_man-pages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
406b1bf
)
(split) LDP: Fix bug in Makefile upgrade
author
Akihiro MOTOKI
<amotoki@gmail.com>
Wed, 23 Apr 2014 15:24:46 +0000
(
00:24
+0900)
committer
Akihiro MOTOKI
<amotoki@gmail.com>
Wed, 23 Apr 2014 15:35:39 +0000
(
00:35
+0900)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
04c0ffe
..
89fd0c0
100644
(file)
--- 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
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
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:"
help:
@echo "Available targets:"