diff options
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | config.mk | 29 |
2 files changed, 30 insertions, 8 deletions
@@ -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'' + |