-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetspace.mkmk
More file actions
157 lines (137 loc) · 2.64 KB
/
setspace.mkmk
File metadata and controls
157 lines (137 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
#
# Synopsis:
# Configuration file read by make-make to build tar files.
# See:
# https://github.com/jmscott/work/blob/master/make-make
# Note:
# make-make tar is broken!!!
#
# Move most of BINs to SBINs
#
# Makefile variables can be extracted and defined from the the
# product.mkmk file with these recipes. Example make code follows:
#
# MKMK=product.dist
#
# SBINs := $(shell (. ./$(MKMK) && echo $$SBINs))
# LIBs := $(shell (. ./$(MKMK) && echo $$LIBs))
# SRCs := $(shell (. ./$(MKMK) && echo $$SRCs))
# BINs := $(shell (. ./$(MKMK) && echo $$BINs))
# HTDOCs := $(shell (. ./$(MKMK) && echo $$HTDOCs))
# CGIBINs := $(shell (. ./$(MKMK) && echo $$CGIBINs))
# LIBEXEC := $(shell (. ./$(MKMK) && echo $$LIBEXECs))
# COMPILEs := $(shell (. ./$(MKMK) && echo $$COMPILEs))
#
# Define PRODUCT to change name of tar file from $(basename $(pwd))
# to, say, foobar-YYYYMMDD_hhmm.tar.bz2
#PRODUCT=foobar
#
# Uncomment for compiled programs to be installed i bin/ or sbin/ and
# removed in "clean" recipes.
#
COMPILEs="
append-brr
dec2pgbit
dedup
flip-tail
spin-wait-blob
"
LIBs="
bash_login.example
crontab.conf.example
launchd-flowd.plist.example
profile.example
psqlrc.example
schema.sql
setspace.mkmk
ssq-common.bash
ssq-schema-status.sql
systemd-flowd.service.example
"
# Note: move these to SBINs!
BINs="
$COMPILEs
"
SBINs="
CREATE-setspace-schema
SETSPACE_ROOT-bash
brr-flip
brr-flip-all
brr-stat
cron-rummy
dec2pgbit
find-brr
find-rolled-brr
find-schema
flip-tail
launchd-flowd
ls-start-flowd
restart-all-flowd
restart-flowd
rummy
run-stat-flowd-tuple
run-stat-report
run-stat-tuple
ssctl
ssq
start-all-flowd
start-flowd
stop-all-flowd
stop-flowd
tail-flowd
"
# Uncomment to create tmp/ directory
TMP="
"
# Uncomment to create cgibin/ directory
#CGIBINs="
#"
# Uncomment to create htdocs/ directory
#HTDOCs="
#"
# Uncomment to create src/ directory
SRCs="
Makefile \
append-brr.c \
common-ecpg.c \
common.c \
dec2pgbit.c \
dedup.c \
flip-tail.c \
local-darwin.mk.example \
local-linux.mk.example \
macosx.c \
spin-wait-blob.pgc \
"
# Uncomment to create attic/ directory
#ATTIC="
#"
# Uncomment to create archive/ directory
#ARCHIVE="
#"
# Uncomment to create etc/ directory
ETC="
"
# Uncomment to create spool/ directory
#SPOOL="
#"
# Uncomment to create data/ directory
#DATA="
#"
# Uncomment to create run/ directory
#RUN="
#"
# Uncomment to create log/ directory
#LOG="
#"
# Uncomment to create cache/ directory
#CACHE="
#"
LIBEXECs="
ssq-ls
ssq-common-psql-expand
ssq-common-psql-tsv
"
SYMLINKs="
$JMSCOTT_ROOT->.
"