Automatically make the local config if needed. - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 38930409aaabcaf82b33f94b5e77698a07bafc31
(DIR) parent 7852268016919973432c02b46e9e8a74440977ba
(HTM) Author: Rob King <jking@deadpixi.com>
Date: Thu, 11 Aug 2016 22:32:08 -0500
Automatically make the local config if needed.
Diffstat:
Makefile | 11 ++++++++++-
config.mk | 15 ---------------
2 files changed, 10 insertions(+), 16 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
@@ -4,7 +4,16 @@
# master makefile for sam. configure sub-makefiles first.
#
-all: lXg lframe rsamdir samdir samtermdir docdir
+all: config.h config.mk commands.h lXg lframe rsamdir samdir samtermdir docdir
+
+commands.h:
+ cp commands.h.def commands.h
+
+config.h:
+ cp config.h.def config.h
+
+config.mk:
+ cp config.mk.def config.mk
lXg:
cd libXg; $(MAKE)
(DIR) diff --git a/config.mk b/config.mk
@@ -1,15 +0,0 @@
-# config.mk - makefile configuration for sam
-# copyright 2015 Rob King <jking@deadpixi.com>
-
-# DESTDIR is the root of the installation tree
-DESTDIR?=/usr/local
-
-# BINDIR is the directory where binaries go
-BINDIR?=$(DESTDIR)/bin
-
-# MANDIR is where manual pages go
-MANDIR?=$(DESTDIR)/share/man/man1
-
-# FREETYPEINC should name the directory of your freetype2 includes.
-FREETYPEINC?=/usr/include/freetype2
-