Skip to content

Commit

Permalink
tutor: Preparation for tutor1/2
Browse files Browse the repository at this point in the history
  • Loading branch information
k-takata committed Dec 17, 2024
1 parent 498f186 commit b54eceb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ import-en-files:
"$(VIM_SRC_DIR)"/runtime/doc/vimtutor.1 \
"$(VIM_SRC_DIR)"/runtime/doc/xxd.1 \
runtime/doc/
cp "$(VIM_SRC_DIR)"/runtime/tutor/tutor runtime/tutor/
cp "$(VIM_SRC_DIR)"/runtime/tutor/tutor1 runtime/tutor/
cp "$(VIM_SRC_DIR)"/runtime/tutor/tutor2 runtime/tutor/
cp "$(VIM_SRC_DIR)"/nsis/lang/english.nsi nsis/lang/

# Update Vim source directory.
Expand Down
12 changes: 6 additions & 6 deletions runtime/tutor/Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
MASTER_TUTOR = tutor.ja.utf-8
MASTER_TUTOR1 = tutor1.ja.utf-8

test: update

update: tutor.ja.sjis tutor.ja.euc
update: tutor1.ja.sjis tutor1.ja.euc

tutor.ja.sjis: $(MASTER_TUTOR)
tutor1.ja.sjis: $(MASTER_TUTOR1)
iconv -f utf-8 -t cp932 < $< > $@

tutor.ja.euc: $(MASTER_TUTOR)
tutor1.ja.euc: $(MASTER_TUTOR1)
iconv -f utf-8 -t euc-jp < $< > $@

force: touch
@$(MAKE) update

touch: $(MASTER_TUTOR)
touch: $(MASTER_TUTOR1)
touch $<

clean:
rm -f tutor.ja.sjis tutor.ja.euc
rm -f tutor1.ja.sjis tutor1.ja.euc
File renamed without changes.
File renamed without changes.

0 comments on commit b54eceb

Please sign in to comment.