From 7b32b8e5eb7cdc8939042ab665f1b80f03036132 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 15 Jun 2013 17:10:59 -0600 Subject: Makefiles: pull the config section into config.mk --- common.mk | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'common.mk') diff --git a/common.mk b/common.mk index ef96ee6..bbb1b7c 100644 --- a/common.mk +++ b/common.mk @@ -1,20 +1,5 @@ -# Configuration -DESTDIR= - -#prefix=/usr/local -prefix=/usr -exec_prefix=$(prefix) -bindir=$(exec_prefix)/bin -sbindir=$(exec_prefix)/sbin -#libexecdir=$(exec_prefix)/libexec -libexecdir=$(exec_prefix)/lib - -datarootdir=$(prefix)/share -datadir=$(datarootdir) -#sysconfdir=$(prefix)/etc -sysconfdir=/etc - -docdir=$(datarootdir)/doc +topdir := $(dir $(lastword $(MAKEFILE_LIST))) +include $(topdir)/config.mk ################################################################################ progs = $(shell find . -maxdepth 1 -type f -executable -printf '%f\n') -- cgit v1.2.2