Skip to content

Commit

Permalink
Doing asciidoc
Browse files Browse the repository at this point in the history
  • Loading branch information
MedvedEE committed Sep 17, 2024
1 parent f4e2bb6 commit 049c349
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
ASCIIDOCTOR = asciidoctor
SRC_DIR = src
HTML_DIR = html
SPECIAL_HTML_DIR = special_html #Index file, otherwise website wont work
SPECIAL_HTML_DIR = special_html # Index file, otherwise website wont work
VLE_DIR = VLE_Bootstrap

# Find all AsciiDoc source files in the source directory
SRC_FILES := $(wildcard $(SRC_DIR)/*.asciidoc)
Expand All @@ -18,7 +19,7 @@ $(HTML_DIR)/%.html: $(SRC_DIR)/%.asciidoc
$(ASCIIDOCTOR) -o $@ $<

# Targets
all: html special_html git
all: html special_html VLE git

#html directory
html: $(HTML_OUTPUT_FILES)
Expand All @@ -34,4 +35,7 @@ clean:
git:
git add .
git commit -m "Doing asciidoc"
git push -u origin main
git push -u origin main

VLE:
(cd $(VLE_DIR) && git add . && git commit -m "Updating VLE " && git push -u origin main)
2 changes: 1 addition & 1 deletion VLE_Bootstrap
Submodule VLE_Bootstrap updated 1 files
+4 −0 css/custom.css

0 comments on commit 049c349

Please sign in to comment.