From 51b4349744a5658de82070b815aa676883ab22b8 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Wed, 24 Apr 2024 16:26:45 +0200 Subject: Add confing.mk --- Makefile | 9 +-------- config.mk | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 8 deletions(-) create mode 100644 config.mk 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 . -#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 +# +# 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 . + +PREFIX = /usr/local +#PREFIX = ~ + +APPNAME = hyde +INSTALLDIR = ${PREFIX}/hyde +BINDIR = ${PREFIX}/bin + +# BSD sed +SED = sed -i '' + +# GNU sed +#SED = sed -i'' + -- cgit v1.2.3