aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-11-11 00:33:18 -0800
committerxyz <gky44px1999@gmail.com>2022-11-11 00:38:54 -0800
commite52d8d22c7b4840c41ed52decb57ed12b1668459 (patch)
tree70828d59cc2970c4653f581e3cf8a96ac06e2919
parenta023cf8a5f9a2a648c2bb44652179b41700bf75a (diff)
config.h symlink as a workaround
I prefer config.h and config.def.h to be the same. But I want to keep config.def.h for easier merge. So I workaround it with symlink. Also solve the problem of my PKGBUILD copy config.def.h as config.h once and never change config.h later, causes build bugs. AUR way of PKGBUILD track an extra config.h and copy it to the dir when build but I'm not a fan of this approach.
-rw-r--r--.gitignore1
l---------config.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 8a283f2..095e840 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,2 @@
-config.h
*.o
dwm
diff --git a/config.h b/config.h
new file mode 120000
index 0000000..c6d6219
--- /dev/null
+++ b/config.h
@@ -0,0 +1 @@
+config.def.h \ No newline at end of file