aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-01-13 01:08:57 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-01-13 01:08:57 +0100
commit86eb99482e04b18d4890c737fc6155fde52f8d73 (patch)
treec0c389bf621c558583c42c577595083bad8b2ba5
parentbb36535f1a932c7749e58f2abb1cc88364200258 (diff)
Organize files into directories
-rw-r--r--make.c6
-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
diff --git a/make.c b/make.c
index d744ad7..95a6f54 100644
--- a/make.c
+++ b/make.c
@@ -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
diff --git a/grab.1 b/man/grab.1
index 8bd2e9e..8bd2e9e 100644
--- a/grab.1
+++ b/man/grab.1
diff --git a/da.h b/src/da.h
index 1587ece..1587ece 100644
--- a/da.h
+++ b/src/da.h
diff --git a/grab.c b/src/grab.c
index 96b5d9f..96b5d9f 100644
--- a/grab.c
+++ b/src/grab.c