motd-gen

my motd scripts
git clone git://git.ckyln.com/~cem/motd-gen.git
Log | Files | Refs | README | LICENSE

commit 88a932e7b40e752c9551cae61cd520251a18f5b5
parent 518f097cbf57d487759002e7e4062a70803c0288
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu,  2 Jan 2020 11:51:15 +0300

seperate Makefile and config.mk

Diffstat:
MMakefile | 11++---------
Aconfig.mk | 11+++++++++++
2 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,14 +1,7 @@ -# See LICENSE for more information +# See LICENSE for copyright information # -VERSION = 0.1 -PREFIX = /usr/local -BINDIR = ${PREFIX}/bin -SHAREDIR = ${PREFIX}/share - -MOTDPROGS = 00-header.motd \ - 50-systeminfo.motd \ - 99-alert-scripts.motd +include config.mk install: mkdir -p ${DESTDIR}${BINDIR} diff --git a/config.mk b/config.mk @@ -0,0 +1,11 @@ +# see LICENSE for copyright information +# + +VERSION = 0.1 +PREFIX = /usr/local +BINDIR = ${PREFIX}/bin +SHAREDIR = ${PREFIX}/share + +MOTDPROGS = 00-header.motd \ + 50-systeminfo.motd \ + 99-alert-scripts.motd