Automatically make the local config if needed. - sam - An updated version of th… | |
git clone git://vernunftzentrum.de/sam.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 38930409aaabcaf82b33f94b5e77698a07bafc31 | |
parent 7852268016919973432c02b46e9e8a74440977ba | |
Author: Rob King <[email protected]> | |
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(-) | |
--- | |
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… | |
+ | |
+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) | |
diff --git a/config.mk b/config.mk | |
@@ -1,15 +0,0 @@ | |
-# config.mk - makefile configuration for sam | |
-# copyright 2015 Rob King <[email protected]> | |
- | |
-# 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 | |
- |