• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révision226df53f1cf99e8d30fe90b0cd94ba8b2e21135c (tree)
l'heure2024-06-06 07:18:27
Auteur(del#271881)
Commiterqq542vev

Message de Log

make template を追加。

Change Summary

Modification

--- a/makefile
+++ b/makefile
@@ -6,29 +6,34 @@
66 VERSION = 1.0.0
77 SRC = src
88 BIN = bin
9+TEMPLATE = template
910
10-.PHONY: all clean help version
11+.POSIX:
1112
12-all: bin/csv-card-table bin/html-card-table
13+all: bin template
1314
14-template/%.html: src/template/%.html
15- npx html-inline --ignore-links -i '${<}' >'${@}'
15+bin: bin/csv-card-table bin/html-card-table
1616
17-${BIN}/csv-card-table: ${SRC}/csv-card-table
17+${BIN}/csv-card-table: ${SRC}/csv-card-table ${SRC}/gen_anki_card.awk
1818 mkdir -p -- '${@D}'
1919 cuktash '${<}' >'${@}'
2020 chmod 755 '${@}'
2121
22-${BIN}/html-card-table: ${SRC}/html-card-table
22+${BIN}/html-card-table: ${SRC}/html-card-table ${SRC}/gen_anki_card.awk
2323 mkdir -p -- '${@D}'
2424 cuktash '${<}' >'${@}'
2525 chmod 755 '${@}'
2626
27+template: ${TEMPLATE}/template.html
28+
29+${TEMPLATE}/template.html: src/template/template.html
30+ npx html-inline --ignore-links -i '${<}' >'${@}'
31+
2732 # Clean
2833 # =====
2934
3035 clean:
31- rm -rf -- ${BIN}
36+ rm -rf -- ${BIN} ${TEMPLATE}/template.html
3237
3338 # Message
3439 # =======