blob: 52e1c7148590b3c55dfc1ff98edd0bfac3ace4ec (
plain)
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
|
PROJECT_VERSION :=$(shell echo `git describe --long --tags | sed -e "s/^[ a-z_-]\+\([0-9.]\+\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g"`)
DUB=dub
DUB_FLAGS=-v --force --compiler=
PRG_NAME=sdp
PRG_SRC=$(PRG_NAME).d
PRG_SRCDIR=./src
PRG_BIN=$(PRG_NAME)
PRG_BINDIR=./bin
PRG_DOCDIR=./docs
EMACSLISP=/usr/share/emacs/site-lisp
ORG_VER_AVAILABLE=$(shell echo `ls -d ~/.emacs.d/elpa/org-???????? | cut -d '-' -f2`)
EMACSLISP_ORG=~/.emacs.d/elpa/org-$($(shell echo $(ORG_VER_AVAILABLE)))
ORG_CONTRIB_VER_AVAILABLE=$(shell echo `ls -d ~/.emacs.d/elpa/org-plus-???????? | cut -d '-' -f2`)
EMACSLISP_ORG_CONTRIB=~/.emacs.d/elpa/org-plus-contrib-$($(shell echo $(ORG_CONTRIB_VER_AVAILABLE)))
ORGFILELIST=$(shell echo `ls -1 maker.org org/*.org`)
ORGFILES=""
ORGDIR :=$(shell echo `pwd`)
SiSU_MARKUP_SAMPLES_FIND_PODS= \
find data/sisupod -maxdepth 2 -name sisupod.manifest | cut -f 1-3 -d / | sort
SiSU_MARKUP_SAMPLES_PODS_FOUND= \
$(SiSU_MARKUP_SAMPLES_FIND_PODS) | xargs
SiSU_MARKUP_SAMPLES_POD = \
data/sisupod/accelerando.charles_stross \
data/sisupod/alices_adventures_in_wonderland.lewis_carroll \
data/sisupod/content.cory_doctorow \
data/sisupod/democratizing_innovation.eric_von_hippel \
data/sisupod/down_and_out_in_the_magic_kingdom.cory_doctorow \
data/sisupod/for_the_win.cory_doctorow \
data/sisupod/free_as_in_freedom_2.richard_stallman_and_the_free_software_revolution.sam_williams.richard_stallman \
data/sisupod/free_culture.lawrence_lessig \
data/sisupod/free_for_all.peter_wayner \
data/sisupod/gpl2.fsf \
data/sisupod/gpl3.fsf \
data/sisupod/gullivers_travels.jonathan_swift \
data/sisupod/little_brother.cory_doctorow \
data/sisupod/live-manual \
data/sisupod/sisu-manual \
data/sisupod/the_autonomous_contract.ralph_amissah \
data/sisupod/the_cathedral_and_the_bazaar.eric_s_raymond \
data/sisupod/the_public_domain.james_boyle \
data/sisupod/the_wealth_of_networks.yochai_benkler \
data/sisupod/through_the_looking_glass.lewis_carroll \
data/sisupod/two_bits.christopher_kelty \
data/sisupod/un_contracts_international_sale_of_goods_convention_1980 \
data/sisupod/viral_spiral.david_bollier
SiSU_MARKUP_SAMPLES_DIR_FILES_FOUND = \
find data/sisudir/media/text -name *.ss[tm] | sort | xargs
SiSU_MARKUP_SAMPLES_DIR = \
data/sisudir/media/text/accelerando.charles_stross.sst \
data/sisudir/media/text/alices_adventures_in_wonderland.lewis_carroll.sst \
data/sisudir/media/text/content.cory_doctorow.sst \
data/sisudir/media/text/democratizing_innovation.eric_von_hippel.sst \
data/sisudir/media/text/down_and_out_in_the_magic_kingdom.cory_doctorow.sst \
data/sisudir/media/text/ffa_tmp.sst \
data/sisudir/media/text/for_the_win.cory_doctorow.sst \
data/sisudir/media/text/free_as_in_freedom_2.richard_stallman_and_the_free_software_revolution.sam_williams.richard_stallman.sst \
data/sisudir/media/text/free_culture.lawrence_lessig.sst \
data/sisudir/media/text/free_for_all.peter_wayner.sst \
data/sisudir/media/text/gpl2.fsf.sst \
data/sisudir/media/text/gpl3.fsf.sst \
data/sisudir/media/text/gullivers_travels.jonathan_swift.sst \
data/sisudir/media/text/little_brother.cory_doctorow.sst \
data/sisudir/media/text/sisu_markup.sst \
data/sisudir/media/text/sisu_markup_stress_test.sst \
data/sisudir/media/text/sisu_markup_test.sst \
data/sisudir/media/text/table_special_markup.sst \
data/sisudir/media/text/the_autonomous_contract.ralph_amissah.sst \
data/sisudir/media/text/the_cathedral_and_the_bazaar.eric_s_raymond.sst \
data/sisudir/media/text/the_public_domain.james_boyle.sst \
data/sisudir/media/text/the_wealth_of_networks.yochai_benkler.sst \
data/sisudir/media/text/through_the_looking_glass.lewis_carroll.sst \
data/sisudir/media/text/two_bits.christopher_kelty.sst \
data/sisudir/media/text/un_contracts_international_sale_of_goods_convention_1980.sst \
data/sisudir/media/text/viral_spiral.david_bollier.sst
default: ldc
markup_samples:
find data/sisupod -name sisupod.manifest | cut -f 1-3 -d / | sort; \
find data/sisudir/media/text -name *.ss[tm] | sort
markup_pod_samples:
find data/sisupod -name sisupod.manifest | cut -f 1-3 -d / | sort
markup_dir_samples:
find data/sisudir/media/text -name *.ss[tm] | sort
all: dmd ldc gdc
all_ver: dmd_ver ldc_ver gdc_ver
all_debug: dmd_debug gdc_debug ldc_debug
all_clean: clean tangle dmd ldc gdc
all_ver_clean: clean tangle dmd_ver ldc_ver gdc_ver
all_debug_ver: dmd_debug_ver gdc_debug_ver ldc_debug_ver
all_debug_clean_ver: clean tangle dmd_debug_ver gdc_debug_ver ldc_debug_ver
dmd:
$(DUB) --compiler=dmd --config=sdp-dmd
dmd_ver:
$(DUB) --compiler=dmd --config=sdp-dmd-version
mv bin/sdp-dmd-ver bin/sdp-dmd-$(PROJECT_VERSION)
notify-send -t 0 'D dmd compiled test release executable ready' 'sdp-dmd-$(PROJECT_VERSION)'
dmd_clean_ver: clean tangle dmd_ver
dmd_debug:
$(DUB) --compiler=dmd --config=sdp-dmd-debug
dmd_rel: expunge skel tangle
$(DUB) --compiler=dmd --config=sdp-release
dmd_rel_tangle: tangle
$(DUB) --compiler=dmd --config=sdp-dmd
dmd_rel_expunge_tangle: expunge skel tangle dmd_rel_tangle
dmd_debug_tangle: tangle
$(DUB) --compiler=dmd --config=sdp-dmd-debug
gdc:
$(DUB) --compiler=gdc --config=sdp-gdc
gdc_ver:
$(DUB) --compiler=gdc --config=sdp-gdc-version
mv bin/sdp-gdc-ver bin/sdp-gdc-$(PROJECT_VERSION)
notify-send -t 0 'D gdc compiled test release executable ready' 'sdp-gdc-$(PROJECT_VERSION)'
gdc_clean_ver: clean tangle gdc_ver
gdc_debug:
$(DUB) --compiler=gdc --config=sdp-gdc-debug
gdc_rel: expunge skel tangle
$(DUB) --compiler=gdc --config=sdp-release
gdc_rel_tangle: tangle
$(DUB) --compiler=gdc --config=sdp-gdc
gdc_rel_expunge_tangle: expunge skel tangle gdc_rel_tangle
gdc_debug_tangle: tangle
$(DUB) --compiler=gdc --config=sdp-gdc-debug
ldc:
$(DUB) --compiler=ldc2 --config=sdp-ldc
ldc_ver:
$(DUB) --compiler=ldc2 --config=sdp-ldc-version
mv bin/sdp-ldc-ver bin/sdp-ldc-$(PROJECT_VERSION)
notify-send -t 0 'D ldc2 compiled test release executable ready' 'sdp-ldc-$(PROJECT_VERSION)'
ldc_clean_ver: clean tangle ldc_ver
ldc_debug:
$(DUB) --compiler=ldc2 --config=sdp-ldc-debug
ldc_rel: expunge skel tangle
$(DUB) --compiler=ldc2 --config=sdp-release
ldc_rel_tangle: tangle
$(DUB) --compiler=ldc2 --config=sdp-ldc
ldc_rel_expunge_tangle: expunge skel tangle ldc_rel_tangle
ldc_debug_tangle: tangle
$(DUB) --compiler=ldc2 --config=sdp-ldc-debug
skel:
mkdir -p $(PRG_SRCDIR)/$(PRG_NAME)/meta; \
mkdir -p $(PRG_SRCDIR)/$(PRG_NAME)/conf; \
mkdir -p $(PRG_SRCDIR)/$(PRG_NAME)/output; \
mkdir -p $(PRG_SRCDIR)/$(PRG_NAME); \
mkdir -p $(PRG_BINDIR);
init: skel
clean:
rm -rf $(PRG_SRCDIR); \
rm -rf $(PRG_DOCDIR);
clean_bin:
rm $(PRG_BINDIR)/*
clean_src:
rm -rf $(PRG_SRCDIR);
clean_docs:
rm -rf $(PRG_DOCDIR)
expunge:
rm -f dub.selections.json; \
rm -rf $(PRG_SRCDIR); \
rm -rf $(PRG_BINDIR); \
rm -rf $(PRG_DOCDIR);
distclean: expunge
distclean_and_init: expunge
mkdir -p $(PRG_SRCDIR)/$(PRG_NAME); \
mkdir -p $(PRG_BINDIR);
ver:
echo sdp-$(PROJECT_VERSION)
clean_tangle_build: clean tangle build
tangle_build: tangle build
build: $(PRG_SRCDIR)/$(PRG_SRC)
$(DC) $(DC_FLAGS) \
$(DC_FLAG_BINOF)$(PRG_BINDIR)/$(PRG_BIN) \
$(PRG_SRCDIR)/$(PRG_SRC)
rebuild: $(PRG_SRCDIR)/$(PRG_SRC) $(PRG_BINDIR)/$(PRG_BIN).o clean build
makefile_new:
make -k tangle_maker
restart: clean tangle
ragga:
reggae -b binary
reggae -b ninja
build
find_pods:
$(SiSU_MARKUP_SAMPLES_FIND_PODS)
dmd_testrun_find:
./bin/sdp-dmd -v --source --html --epub --sqlite-discrete \
--sqlite-create --sqlite-update \
--output-dir=tmp/program_output_pod \
data/sisupod/sisu-manual
dmd_testrun_find_pod_source:
$(SiSU_MARKUP_SAMPLES_PODS_FOUND) \
./bin/sdp-ldc -v --source --html --epub \
--output-dir=tmp/program_output_pod
dmd_testrun_find_pod_sisupod:
$(SiSU_MARKUP_SAMPLES_PODS_FOUND) \
./bin/sdp-dmd -v --sisupod \
--output-dir=tmp/program_output_pod
dmd_testrun_find_pod_html:
$(SiSU_MARKUP_SAMPLES_PODS_FOUND) \
./bin/sdp-dmd -v --html \
--output-dir=tmp/program_output_pod
dmd_testrun_find_pod_epub:
$(SiSU_MARKUP_SAMPLES_PODS_FOUND) \
./bin/sdp-dmd -v --epub \
--output-dir=tmp/program_output_pod
dmd_testrun_find_pod_all:
$(SiSU_MARKUP_SAMPLES_PODS_FOUND) \
./bin/sdp-dmd -v --source --html --epub --sqlite-discrete \
--sqlite-create --sqlite-update \
--output-dir=tmp/program_output_pod
dmd_testrun_paths_pod_source:
./bin/sdp-dmd -v --source \
--output-dir=tmp/program_output_pod \
$(SiSU_MARKUP_SAMPLES_POD)
dmd_testrun_paths_pod_sisupod:
./bin/sdp-dmd -v --sisupod \
--output-dir=tmp/program_output_pod \
$(SiSU_MARKUP_SAMPLES_POD)
dmd_testrun_paths_pod_html:
./bin/sdp-dmd -v --html \
--output-dir=tmp/program_output_pod \
$(SiSU_MARKUP_SAMPLES_POD)
dmd_testrun_paths_pod_epub:
./bin/sdp-dmd -v --epub \
--output-dir=tmp/program_output_pod \
$(SiSU_MARKUP_SAMPLES_POD)
dmd_testrun_paths_pod_all:
./bin/sdp-dmd -v --source --html --epub --sqlite-discrete \
--sqlite-create --sqlite-update \
--output-dir=tmp/program_output_pod \
$(SiSU_MARKUP_SAMPLES_POD)
gdc_testrun_find:
./bin/sdp-gdc -v --source --html --epub --sqlite-discrete \
--sqlite-create --sqlite-update \
--output-dir=tmp/program_output_pod \
data/sisupod/sisu-manual
gdc_testrun_find_pod_source:
$(SiSU_MARKUP_SAMPLES_PODS_FOUND) \
./bin/sdp-gdc -v --source \
--output-dir=tmp/program_output_pod
gdc_testrun_find_pod_sisupod:
$(SiSU_MARKUP_SAMPLES_PODS_FOUND) \
./bin/sdp-gdc -v --sisupod \
--output-dir=tmp/program_output_pod
gdc_testrun_find_pod_html:
$(SiSU_MARKUP_SAMPLES_PODS_FOUND) \
./bin/sdp-gdc -v --html \
--output-dir=tmp/program_output_pod
gdc_testrun_find_pod_epub:
$(SiSU_MARKUP_SAMPLES_PODS_FOUND) \
./bin/sdp-gdc -v --epub \
--output-dir=tmp/program_output_pod
gdc_testrun_find_pod_all:
$(SiSU_MARKUP_SAMPLES_PODS_FOUND) \
./bin/sdp-gdc -v --source --html --epub --sqlite-discrete \
--sqlite-create --sqlite-update \
--output-dir=tmp/program_output_pod
gdc_testrun_paths:
./bin/sdp-gdc -v --source --html --epub --sqlite-discrete \
--sqlite-create --sqlite-update \
--output-dir=tmp/program_output_pod \
data/sisupod/sisu-manual
gdc_testrun_paths_pod_source:
./bin/sdp-gdc -v --source \
--output-dir=tmp/program_output_pod \
$(SiSU_MARKUP_SAMPLES_POD)
gdc_testrun_paths_pod_sisupod:
./bin/sdp-gdc -v --sisupod \
--output-dir=tmp/program_output_pod \
$(SiSU_MARKUP_SAMPLES_POD)
gdc_testrun_paths_pod_html:
./bin/sdp-gdc -v --html \
--output-dir=tmp/program_output_pod \
$(SiSU_MARKUP_SAMPLES_POD)
gdc_testrun_paths_pod_epub:
./bin/sdp-gdc -v --epub \
--output-dir=tmp/program_output_pod \
$(SiSU_MARKUP_SAMPLES_POD)
gdc_testrun_paths_pod_all:
./bin/sdp-gdc -v --source --html --epub --sqlite-discrete \
--sqlite-create --sqlite-update \
--output-dir=tmp/program_output_pod \
$(SiSU_MARKUP_SAMPLES_POD)
ldc_testrun_find:
./bin/sdp-ldc -v --source --html --epub --sqlite-discrete \
--sqlite-create --sqlite-update \
--output-dir=tmp/program_output_pod \
data/sisupod/sisu-manual
ldc_testrun_find_pod_source:
$(SiSU_MARKUP_SAMPLES_PODS_FOUND) \
./bin/sdp-ldc -v --source \
--output-dir=tmp/program_output_pod
ldc_testrun_find_pod_sisupod:
$(SiSU_MARKUP_SAMPLES_PODS_FOUND) \
./bin/sdp-ldc -v --sisupod \
--output-dir=tmp/program_output_pod
ldc_testrun_find_pod_html:
$(SiSU_MARKUP_SAMPLES_PODS_FOUND) \
./bin/sdp-ldc -v --html \
--output-dir=tmp/program_output_pod
ldc_testrun_find_pod_epub:
$(SiSU_MARKUP_SAMPLES_PODS_FOUND) \
./bin/sdp-ldc -v --epub \
--output-dir=tmp/program_output_pod
ldc_testrun_find_pod_all:
$(SiSU_MARKUP_SAMPLES_PODS_FOUND) \
./bin/sdp-ldc -v --source --html --epub --sqlite-discrete \
--sqlite-create --sqlite-update \
--output-dir=tmp/program_output_pod
ldc_testrun_paths:
./bin/sdp-ldc -v --source --html --epub --sqlite-discrete \
--sqlite-create --sqlite-update \
--output-dir=tmp/program_output_pod \
data/sisupod/sisu-manual
ldc_testrun_paths_pod_source:
./bin/sdp-ldc -v --source \
--output-dir=tmp/program_output_pod \
$(SiSU_MARKUP_SAMPLES_POD)
ldc_testrun_paths_pod_sisupod:
./bin/sdp-ldc -v --sisupod \
--output-dir=tmp/program_output_pod \
$(SiSU_MARKUP_SAMPLES_POD)
ldc_testrun_paths_pod_html:
./bin/sdp-ldc -v --html \
--output-dir=tmp/program_output_pod \
$(SiSU_MARKUP_SAMPLES_POD)
ldc_testrun_paths_pod_epub:
./bin/sdp-ldc -v --epub \
--output-dir=tmp/program_output_pod \
$(SiSU_MARKUP_SAMPLES_POD)
ldc_testrun_paths_pod_all:
./bin/sdp-ldc -v --source --html --epub --sqlite-discrete \
--sqlite-create --sqlite-update \
--output-dir=tmp/program_output_pod \
$(SiSU_MARKUP_SAMPLES_POD)
dmd_testrun_find_dir_source:
$(SiSU_MARKUP_SAMPLES_DIR_FILES_FOUND) \
./bin/sdp-dmd -v --source \
--output-dir=tmp/program_output_dir
dmd_testrun_find_dir_sisupod:
$(SiSU_MARKUP_SAMPLES_DIR_FILES_FOUND) \
./bin/sdp-dmd -v --sisupod \
--output-dir=tmp/program_output_dir
dmd_testrun_find_dir_html:
$(SiSU_MARKUP_SAMPLES_DIR_FILES_FOUND) \
./bin/sdp-dmd -v --html \
--output-dir=tmp/program_output_dir
dmd_testrun_find_dir_epub:
$(SiSU_MARKUP_SAMPLES_DIR_FILES_FOUND) \
./bin/sdp-dmd -v --epub \
--output-dir=tmp/program_output_dir
dmd_testrun_find_dir_all:
$(SiSU_MARKUP_SAMPLES_DIR_FILES_FOUND) \
./bin/sdp-dmd -v --source --html --epub --sqlite-discrete \
--sqlite-create --sqlite-update \
--output-dir=tmp/program_output_dir
dmd_testrun_filelist_dir_source:
./bin/sdp-dmd -v --source \
--output-dir=tmp/program_output_dir \
$(SiSU_MARKUP_SAMPLES_DIR)
dmd_testrun_filelist_dir_sisupod:
./bin/sdp-dmd -v --sisupod \
--output-dir=tmp/program_output_dir \
$(SiSU_MARKUP_SAMPLES_DIR)
dmd_testrun_filelist_dir_html:
./bin/sdp-dmd -v --html \
--output-dir=tmp/program_output_dir \
$(SiSU_MARKUP_SAMPLES_DIR)
dmd_testrun_filelist_dir_epub:
./bin/sdp-dmd -v --epub \
--output-dir=tmp/program_output_dir \
$(SiSU_MARKUP_SAMPLES_DIR)
dmd_testrun_filelist_dir_all:
./bin/sdp-dmd -v --source --html --epub --sqlite-discrete \
--sqlite-create --sqlite-update \
--output-dir=tmp/program_output_dir \
$(SiSU_MARKUP_SAMPLES_DIR)
gdc_testrun_find_dir_source:
./bin/sdp-gdc -v --source \
--output-dir=tmp/program_output_dir \
$(SiSU_MARKUP_SAMPLES_DIR)
gdc_testrun_find_dir_sisupod:
$(SiSU_MARKUP_SAMPLES_DIR_FILES_FOUND) \
./bin/sdp-gdc -v --sisupod \
--output-dir=tmp/program_output_dir
gdc_testrun_find_dir_html:
$(SiSU_MARKUP_SAMPLES_DIR_FILES_FOUND) \
./bin/sdp-gdc -v --html \
--output-dir=tmp/program_output_dir
gdc_testrun_find_dir_epub:
$(SiSU_MARKUP_SAMPLES_DIR_FILES_FOUND) \
./bin/sdp-gdc -v --epub \
--output-dir=tmp/program_output_dir
gdc_testrun_find_dir_all:
$(SiSU_MARKUP_SAMPLES_DIR_FILES_FOUND) \
./bin/sdp-gdc -v --source --html --epub --sqlite-discrete \
--sqlite-create --sqlite-update \
--output-dir=tmp/program_output_dir
gdc_testrun_filelist_dir_source:
./bin/sdp-gdc -v --source \
--output-dir=tmp/program_output_dir \
$(SiSU_MARKUP_SAMPLES_DIR)
gdc_testrun_filelist_dir_sisupod:
./bin/sdp-gdc -v --sisupod \
--output-dir=tmp/program_output_dir \
$(SiSU_MARKUP_SAMPLES_DIR)
gdc_testrun_filelist_dir_html:
./bin/sdp-gdc -v --html \
--output-dir=tmp/program_output_dir \
$(SiSU_MARKUP_SAMPLES_DIR)
gdc_testrun_filelist_dir_epub:
./bin/sdp-gdc -v --epub \
--output-dir=tmp/program_output_dir \
$(SiSU_MARKUP_SAMPLES_DIR)
gdc_testrun_filelist_dir_all:
./bin/sdp-gdc -v --source --html --epub --sqlite-discrete \
--sqlite-create --sqlite-update \
--output-dir=tmp/program_output_dir \
$(SiSU_MARKUP_SAMPLES_DIR)
ldc_testrun_find_dir_source:
$(SiSU_MARKUP_SAMPLES_DIR_FILES_FOUND) \
./bin/sdp-ldc -v --source \
--output-dir=tmp/program_output_dir
ldc_testrun_find_dir_sisupod:
$(SiSU_MARKUP_SAMPLES_DIR_FILES_FOUND) \
./bin/sdp-ldc -v --sisupod \
--output-dir=tmp/program_output_dir
ldc_testrun_find_dir_html:
$(SiSU_MARKUP_SAMPLES_DIR_FILES_FOUND) \
./bin/sdp-ldc -v --html \
--output-dir=tmp/program_output_dir
ldc_testrun_find_dir_epub:
$(SiSU_MARKUP_SAMPLES_DIR_FILES_FOUND) \
./bin/sdp-ldc -v --epub \
--output-dir=tmp/program_output_dir
ldc_testrun_find_dir_all:
$(SiSU_MARKUP_SAMPLES_DIR_FILES_FOUND) \
./bin/sdp-ldc -v --source --html --epub --sqlite-discrete \
--sqlite-create --sqlite-update \
--output-dir=tmp/program_output_dir
ldc_testrun_filelist_dir_source:
./bin/sdp-ldc -v --source \
--output-dir=tmp/program_output_dir \
$(SiSU_MARKUP_SAMPLES_DIR)
ldc_testrun_filelist_dir_sisupod:
./bin/sdp-ldc -v --sisupod \
--output-dir=tmp/program_output_dir \
$(SiSU_MARKUP_SAMPLES_DIR)
ldc_testrun_filelist_dir_html:
./bin/sdp-ldc -v --html \
--output-dir=tmp/program_output_dir \
$(SiSU_MARKUP_SAMPLES_DIR)
ldc_testrun_filelist_dir_epub:
./bin/sdp-ldc -v --epub \
--output-dir=tmp/program_output_dir \
$(SiSU_MARKUP_SAMPLES_DIR)
ldc_testrun_filelist_dir_all:
./bin/sdp-ldc -v --source --html --epub --sqlite-discrete \
--sqlite-create --sqlite-update \
--output-dir=tmp/program_output_dir \
$(SiSU_MARKUP_SAMPLES_DIR)
tangle: skel
for f in $(ORGFILELIST); do \
ORGFILES="$$ORGFILES \"$$f\""; \
done; \
emacs --batch -Q -q \
--eval "(progn \
(add-to-list 'load-path \
(expand-file-name \"$(EMACSLISP)\")) \
(add-to-list 'load-path \
(expand-file-name \"$(EMACSLISP_ORG)\" t)) \
(add-to-list 'load-path \
(expand-file-name \"$(EMACSLISP_ORG_CONTRIB)\" t)) \
(require 'org)(require 'ob)(require 'ob-tangle) \
(mapc (lambda (file) \
(find-file (expand-file-name file \"$(ORGDIR)\")) \
(setq-local org-src-preserve-indentation t) \
(org-babel-tangle) \
(kill-buffer)) '($$ORGFILES)))" 2>&1
tangle_maker:
for f in $(ORGFILELIST); do \
ORGFILES="\"maker.org\""; \
done; \
emacs --batch -Q -q \
--eval "(progn \
(add-to-list 'load-path \
(expand-file-name \"$(EMACSLISP)\")) \
(add-to-list 'load-path \
(expand-file-name \"$(EMACSLISP_ORG)\" t)) \
(add-to-list 'load-path \
(expand-file-name \"$(EMACSLISP_ORG_CONTRIB)\" t)) \
(require 'org)(require 'ob)(require 'ob-tangle) \
(mapc (lambda (file) \
(find-file (expand-file-name file \".\")) \
(setq-local org-src-preserve-indentation t) \
(org-babel-tangle) \
(kill-buffer)) '($$ORGFILES)))" 2>&1
gitsnapshot: distclean tangle
git commit -a
.PHONY : all build rebuild debug release \
distclean init \
tangle gitsnapshot
|