Welcome to little lamb

Code » qmdoc » commit 4a40e0a

Reorganizing files

author Olivier Brunel
2023-01-07 09:16:24 UTC
committer Olivier Brunel
2023-01-07 09:19:43 UTC
parent 7fbe89fce6b31a0efa3565cafa30b610467f4514

Reorganizing files

Makefile +2 -2
common.css => css/common.css +0 -0
dark.css => css/dark.css +0 -0
light.css => css/light.css +0 -0
no-toc.css => css/no-toc.css +0 -0
struct.css => css/struct.css +0 -0
main.c => src/main.c +1 -1
md4c.c => src/md4c.c +0 -0
md4c.h => src/md4c.h +0 -0
qmdoc.h => src/qmdoc.h +0 -0

diff --git a/Makefile b/Makefile
index 891e3eb..ebc15b6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
 -include config.mk
 
-SRCS = main.c md4c.c
+SRCS = src/main.c src/md4c.c
 OBJS = $(SRCS:.c=.o)
 DEPS = $(SRCS:.c=.d)
 
-CSS = struct.css common.css light.css dark.css
+CSS = css/struct.css css/common.css css/light.css css/dark.css
 
 BUILD = qmdoc qmdoc.css
 
diff --git a/common.css b/css/common.css
similarity index 100%
rename from common.css
rename to css/common.css
diff --git a/dark.css b/css/dark.css
similarity index 100%
rename from dark.css
rename to css/dark.css
diff --git a/light.css b/css/light.css
similarity index 100%
rename from light.css
rename to css/light.css
diff --git a/no-toc.css b/css/no-toc.css
similarity index 100%
rename from no-toc.css
rename to css/no-toc.css
diff --git a/struct.css b/css/struct.css
similarity index 100%
rename from struct.css
rename to css/struct.css
diff --git a/main.c b/src/main.c
similarity index 100%
rename from main.c
rename to src/main.c
index 3f35b2f..50cc6fe 100644
--- a/main.c
+++ b/src/main.c
@@ -15,8 +15,8 @@
 #include <skalibs/uint32.h>
 #include <limb/output.h>
 #include <limb/unix-transactional.h>
-#include "qmdoc.h"
 #include "md4c.h"
+#include "qmdoc.h"
 
 const char *PROG = "qmdoc";
 
diff --git a/md4c.c b/src/md4c.c
similarity index 100%
rename from md4c.c
rename to src/md4c.c
diff --git a/md4c.h b/src/md4c.h
similarity index 100%
rename from md4c.h
rename to src/md4c.h
diff --git a/qmdoc.h b/src/qmdoc.h
similarity index 100%
rename from qmdoc.h
rename to src/qmdoc.h