Sha256: 4afa4eee78ae52412be23d9e6ce0eddf390a7abda7f6b29efa1e0c44ba1cdc21
Contents?: true
Size: 944 Bytes
Versions: 6
Compression:
Stored size: 944 Bytes
Contents
# TODO: research wildcard targets # TODO: DRY en: figures docs @for file in `ls ../en/*/*.markdown`; do \ filename=`basename -s .markdown $$file`; \ target=./_docs/$$filename; \ mkdir -p $$target; \ cp $$file $$target/body.markdown; \ echo $$filename > $$target/_id; \ done; de: figures docs @for file in `ls ../de/*/*.markdown`; do \ filename=`basename -s .markdown $$file`; \ target=./_docs/$$filename; \ mkdir -p $$target; \ cp $$file $$target/body.markdown; \ echo $$filename > $$target/_id; \ done; by: figures docs @for file in `ls ../by/*/*.markdown`; do \ filename=`basename -s .markdown $$file`; \ target=./_docs/$$filename; \ mkdir -p $$target; \ cp $$file $$target/body.markdown; \ echo $$filename > $$target/_id; \ done; # add your target language figures: mkdir -p _attachments/figures/ cp ../figures/* _attachments/figures/ docs: mkdir -p _docs clean: git clean -fdx
Version data entries
6 entries across 6 versions & 1 rubygems