diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-01-13 01:08:57 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-01-13 01:08:57 +0100 |
commit | 86eb99482e04b18d4890c737fc6155fde52f8d73 (patch) | |
tree | c0c389bf621c558583c42c577595083bad8b2ba5 | |
parent | bb36535f1a932c7749e58f2abb1cc88364200258 (diff) |
Organize files into directories
-rw-r--r-- | make.c | 6 | ||||
-rw-r--r-- | man/git-grab.1 (renamed from git-grab.1) | 0 | ||||
-rw-r--r-- | man/grab.1 (renamed from grab.1) | 0 | ||||
-rw-r--r-- | src/da.h (renamed from da.h) | 0 | ||||
-rw-r--r-- | src/grab.c (renamed from grab.c) | 0 |
5 files changed, 3 insertions, 3 deletions
@@ -72,11 +72,11 @@ main(int argc, char **argv) cmdprc(c); cmdadd(&c, "cp", "grab", "git-grab", bin); cmdprc(c); - cmdadd(&c, "cp", "grab.1", "git-grab.1", man); + cmdadd(&c, "cp", "man/grab.1", "man/git-grab.1", man); cmdprc(c); } } else { - if (foutdated("grab", "grab.c", "da.h")) { + if (foutdated("grab", "src/grab.c", "src/da.h")) { for (int i = 0; i < 2; i++) { char buf[] = "-DGIT_GRAB=X"; buf[sizeof(buf) - 2] = i + '0'; @@ -90,7 +90,7 @@ main(int argc, char **argv) cmdadd(&c, CFLAGS_DEBUG); else cmdadd(&c, CFLAGS_RELEASE); - cmdadd(&c, "-o", i == 0 ? "grab" : "git-grab", "grab.c"); + cmdadd(&c, "-o", i == 0 ? "grab" : "git-grab", "src/grab.c"); cmdprc(c); } } diff --git a/git-grab.1 b/man/git-grab.1 index 64c35cc..64c35cc 100644 --- a/git-grab.1 +++ b/man/git-grab.1 |