From 77ea374d6adff3b16f2c3761c232076e730c449b Mon Sep 17 00:00:00 2001 From: nekobit Date: Thu, 12 May 2022 02:10:48 +0000 Subject: [PATCH] Update for Fossil FossilOrigin-Name: efe1ebc7a034eb6b7542409c62568b9d2e2e686d292ace808180080e0e6a6987 --- .gitignore => .fossil-settings/ignore-glob | 0 Makefile | 8 ++------ 2 files changed, 2 insertions(+), 6 deletions(-) rename .gitignore => .fossil-settings/ignore-glob (100%) diff --git a/.gitignore b/.fossil-settings/ignore-glob similarity index 100% rename from .gitignore rename to .fossil-settings/ignore-glob diff --git a/Makefile b/Makefile index cb64323..8a9e7e3 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ DIST = dist/ PREFIX ?= /usr/local TARGET = treebird -MASTODONT_URL = https://git.nekobit.net/repos/mastodont-c.git +MASTODONT_URL = https://fossil.nekobit.net/mastodont-c all: $(MASTODONT_DIR) dep_build $(TARGET) apache: all apache_start @@ -116,8 +116,7 @@ $(PAGES_DIR)/emoji.chtml: $(PAGES_DIR)/emoji.html ./filec $< data_emoji_html > $@ $(MASTODONT_DIR): - git clone $(MASTODONT_URL) || true - @echo -e "\033[38;5;13mRun 'make update' to update mastodont-c\033[0m" + fossil clone $(MASTODONT_URL) || true install: $(TARGET) install -m 655 treebird $(PREFIX)/bin/ @@ -133,9 +132,6 @@ apache_start: dep_build: make -C $(MASTODONT_DIR) -update: - git -C $(MASTODONT_DIR) pull - %.o: %.c %.h $(PAGES) $(CC) $(CFLAGS) -c $< -o $@