commit 9407fd4f8e8f2731d4800b1852739b914fe0e9f6
parent 9f114311d0a111535573a5f4da22ddf24a12282d
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sun, 10 Mar 2019 08:15:52 +0100
Fix submodule initialization
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
@@ -12,7 +12,8 @@ tabbed/config.h: tabbed/config.def.h general.diff config.h
@echo "Apply patches"
-for f in *.diff; do cp $$f tabbed/ && (cd tabbed && patch -p1 -N < $$f); done
-tabbed/config.def.h: tabbed/
+tabbed/config.def.h:
+ git submodule update --init --recursive
/usr/local/bin/tabbed: tabbed/tabbed
sudo make -C tabbed/ install
@@ -21,9 +22,6 @@ general.diff: config.h
cp tabbed/config.def.h tabbed/config.h
-diff -u tabbed/config.h $< > $@
-tabbed/:
- git submodule update --init --recursive
-
.PHONY: clean install default
clean:
$(RM) -r tabbed/