aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2024-04-24 16:26:45 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2024-04-25 11:33:30 +0200
commit51b4349744a5658de82070b815aa676883ab22b8 (patch)
treee9983ccf30ce8f65b62e3775ef6de345ada37c76
parentf4ce0f98dd015aec62f1910d4f72985fba877d77 (diff)
downloadhyde-51b4349744a5658de82070b815aa676883ab22b8.tar.gz
hyde-51b4349744a5658de82070b815aa676883ab22b8.zip
Add confing.mk
-rw-r--r--Makefile9
-rw-r--r--config.mk29
2 files changed, 30 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index f9478eb..a2a5ce2 100644
--- a/Makefile
+++ b/Makefile
@@ -14,14 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-#PREFIX = /usr/local
-PREFIX = ~
-
-APPNAME = hyde
-INSTALLDIR = ${PREFIX}/hyde
-BINDIR = ${PREFIX}/bin
-
-SOURCES != find * -type f -name "*.rb"
+include config.mk
install:
mkdir -p ${INSTALLDIR}
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..fc4cfe7
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,29 @@
+# A static website generator
+# Copyright (C) 2022-2024 Alessandro Iezzi <aiezzi AT alessandroiezzi DOT it>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+PREFIX = /usr/local
+#PREFIX = ~
+
+APPNAME = hyde
+INSTALLDIR = ${PREFIX}/hyde
+BINDIR = ${PREFIX}/bin
+
+# BSD sed
+SED = sed -i ''
+
+# GNU sed
+#SED = sed -i''
+