Skip to content

Commit

Permalink
Add CNAME to public folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ibokuri committed Mar 8, 2024
1 parent 64eb653 commit 6bad369
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ SCD_FILES := $(wildcard $(SCD_DIR)/*.scd)
ROFF_FILES := $(patsubst $(SCD_DIR)/%.scd,$(ROFF_DIR)/%.roff,$(SCD_FILES))
HTML_FILES := $(patsubst $(ROFF_DIR)/%.roff,$(OUTPUT_DIR)/%.html,$(ROFF_FILES))

CNAME := danh.computer

.PHONY: all clean roff build

all: build
Expand All @@ -27,6 +29,7 @@ $(ROFF_DIR)/%.roff: $(SCD_DIR)/%.scd | $(ROFF_DIR)

$(OUTPUT_DIR)/%.html: $(ROFF_DIR)/%.roff | $(OUTPUT_DIR)
@echo $@
@echo $(CNAME) > $(OUTPUT_DIR)/CNAME
@cp $(HTML_DIR)/index.html $(OUTPUT_DIR)/
@cp $(CSS_DIR)/style.css $(OUTPUT_DIR)/

Expand Down

0 comments on commit 6bad369

Please sign in to comment.