翻訳ドキュメント管理用
Rev. | dd7186a980bfb1682fe426166be6138e5eb05a3d |
---|---|
Tamanho | 914 bytes |
Hora | 2021-06-28 20:17:43 |
Autor | matsuand |
Mensagem de Log | admin/po4a/getdraft.perl: Update a specific process only for jamanfile.
|
include ./JM.rules
#
# defs
#
README = dist/README
INSTALL = dist/INSTALL
ifndef DIST
DIST := man-pages-ja-$(shell env LANG=C date +"%Y%m%d")
endif
DATE := $(shell env LANG=C date "+%b %d, %Y")
all: $(README) $(INSTALL)
$(README): $(README).in
perl -pe "s/\@DATE\@/$(DATE)/;\
s/\@FILENAME\@/$(DIST).tar.gz/" $(README).in > $(README)
$(INSTALL): $(INSTALL).in
perl -pe "s/\@DIRNAME\@/$(DIST)/" $(INSTALL).in > $(INSTALL)
install: all
mkdir -p $(TMPDIR)/$(DIST)
if [ -x $(RSYNC) ]; then \
$(RSYNC) -a -v \
--exclude='*CVS*' \
--exclude='*.in' \
--exclude='.cvsignore' \
--exclude=ChangeLog \
dist/ $(TMPDIR)/$(DIST) \
; else \
cp -a dist/* $(TMPDIR)/$(DIST) ;\
find $(TMPDIR)/$(DIST) -type d -name CVS | xargs rm -rf ;\
find $(TMPDIR)/$(DIST) -name \*.in -o -name ChangeLog \
-o -name .cvsignore | xargs rm -rf \
; fi
clean:
rm -f $(README) $(INSTALL)