From 57c1efdab9bb76f080e51a048a82a449e9acd60b Mon Sep 17 00:00:00 2001 From: beville Date: Fri, 31 Jan 2014 04:43:22 +0000 Subject: [PATCH] makefile TAGGER_BASE can be set in the environment git-svn-id: http://comictagger.googlecode.com/svn/trunk@649 6c5673fe-1810-88d6-992b-cd32ca31540c --- Makefile | 2 +- mac/Makefile | 2 +- windows/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index aa8bc53..58f27a5 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -TAGGER_BASE := $(HOME)/Dropbox/tagger/comictagger +TAGGER_BASE ?:= $(HOME)/Dropbox/tagger/comictagger TAGGER_SRC := $(TAGGER_BASE)/comictaggerlib VERSION_STR := $(shell grep version $(TAGGER_SRC)/ctversion.py| cut -d= -f2 | sed 's/\"//g') PASSWORD := $(shell cat $(TAGGER_BASE)/project_password.txt) diff --git a/mac/Makefile b/mac/Makefile index 800eaab..9371d36 100644 --- a/mac/Makefile +++ b/mac/Makefile @@ -1,6 +1,6 @@ #PYINSTALLER_CMD := VERSIONER_PYTHON_PREFER_32_BIT=yes arch -i386 python $(HOME)/pyinstaller-2.0/pyinstaller.py PYINSTALLER_CMD := python $(HOME)/pyinstaller-2.0/pyinstaller.py -TAGGER_BASE := $(HOME)/Dropbox/tagger/comictagger +TAGGER_BASE ?= $(HOME)/Dropbox/tagger/comictagger TAGGER_SRC := $(TAGGER_BASE)/comictaggerlib APP_NAME := ComicTagger diff --git a/windows/Makefile b/windows/Makefile index 234321e..90a1bf7 100644 --- a/windows/Makefile +++ b/windows/Makefile @@ -2,7 +2,7 @@ # rm, cp, grep, cut, cat HOMEPATH ?= $(HOME) -TAGGER_BASE:= $(HOMEPATH)/Dropbox/tagger/comictagger +TAGGER_BASE?= $(HOMEPATH)/Dropbox/tagger/comictagger TAGGER_SRC := $(TAGGER_BASE)/comictaggerlib DIST_DIR := $(TAGGER_BASE)\windows\dist NSIS_CMD := "C:\Program Files (x86)\NSIS\makensis.exe"