Project

General

Profile

« Previous | Next » 

Revision 6965

backups/Makefile: Factored $(isMac) out into lib/common.Makefile

View differences:

backups/Makefile
13 13
# Make
14 14
SHELL := /bin/bash
15 15

  
16
# OS
17
isMac := $(filter Darwin,$(os))
18

  
19 16
# Paths
20 17
bin := $(root)/bin
21 18

  
lib/common.Makefile
35 35

  
36 36
# System
37 37
os := $(shell uname)
38
isMac := $(filter Darwin,$(os))
38 39
forOs = $(patsubst %,%-$(filter Linux Darwin,$(os)),$(1))
39 40
date = $(shell date +"%-Y-%-m-%-d %-H:%M:%S %Z")
40 41

  

Also available in: Unified diff