aboutsummaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-04-04 14:32:17 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2019-05-17 16:59:54 -0400
commit2aad4eac48c9da88836f519da1e4b6e449570ab6 (patch)
tree4b3123f3b8f122a514c8126e49234bc276713256 /makefile
parenthousekeeping (diff)
0.6.0 docReform project license AGPLv3+
- copyright Ralph Amissah - license - project src AGPLv3+ - applied retroactively to project and within git by git rebase prior to any release of project - org files consider, for time being separate - ./maker.org moved to ./org/dr_build_scaffold.org - pre-release development continues - can initialize project from: makefile & org files - cp -av makefile org (and possibly data/pod & data/src) then - make skel tangle ldc
Diffstat (limited to 'makefile')
-rw-r--r--makefile33
1 files changed, 19 insertions, 14 deletions
diff --git a/makefile b/makefile
index bc03477..a229e25 100644
--- a/makefile
+++ b/makefile
@@ -14,7 +14,7 @@ ORG_VER_AVAILABLE=$(shell echo `ls -d ~/.emacs.d/elpa/org-???????? | cut -d '-'
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`)
+ORGFILELIST=$(shell echo `ls -1 org/*.org`)
ORGFILES=""
ORGDIR :=$(shell echo `pwd`)
SiSU_MARKUP_SAMPLES_FIND_PODS= \
@@ -104,14 +104,14 @@ 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=doc-reform-dmd
+ $(DUB) --compiler=dmd --config=dmd -b release
+dmd_debug:
+ $(DUB) --compiler=dmd --config=dmd -b debug
dmd_ver:
- $(DUB) --compiler=dmd --config=doc-reform-dmd-version
+ $(DUB) --compiler=dmd --config=dmd-version
mv bin/doc-reform-dmd-ver bin/doc-reform-dmd-$(PROJECT_VERSION)
notify-send -t 0 'D dmd compiled test release executable ready' 'doc-reform-dmd-$(PROJECT_VERSION)'
dmd_clean_ver: clean tangle dmd_ver
-dmd_debug:
- $(DUB) --compiler=dmd --config=doc-reform-dmd-debug
dmd_rel: expunge skel tangle
$(DUB) --compiler=dmd --config=doc-reform-release
dmd_rel_tangle: tangle
@@ -120,14 +120,14 @@ dmd_rel_expunge_tangle: expunge skel tangle dmd_rel_tangle
dmd_debug_tangle: tangle
$(DUB) --compiler=dmd --config=doc-reform-dmd-debug
gdc:
- $(DUB) --compiler=gdc --config=doc-reform-gdc
+ $(DUB) --compiler=gdc --config=gdc -b release
+gdc_debug:
+ $(DUB) --compiler=gdc --config=gdc -b debug
gdc_ver:
- $(DUB) --compiler=gdc --config=doc-reform-gdc-version
+ $(DUB) --compiler=gdc --config=gdc-version
mv bin/doc-reform-gdc-ver bin/doc-reform-gdc-$(PROJECT_VERSION)
notify-send -t 0 'D gdc compiled test release executable ready' 'doc-reform-gdc-$(PROJECT_VERSION)'
gdc_clean_ver: clean tangle gdc_ver
-gdc_debug:
- $(DUB) --compiler=gdc --config=doc-reform-gdc-debug
gdc_rel: expunge skel tangle
$(DUB) --compiler=gdc --config=doc-reform-release
gdc_rel_tangle: tangle
@@ -136,14 +136,14 @@ gdc_rel_expunge_tangle: expunge skel tangle gdc_rel_tangle
gdc_debug_tangle: tangle
$(DUB) --compiler=gdc --config=doc-reform-gdc-debug
ldc:
- $(DUB) --compiler=ldc2 --config=doc-reform-ldc
+ $(DUB) --compiler=ldc2 --config=ldc -b release
+ldc_debug:
+ $(DUB) --compiler=ldc2 --config=ldc -b debug
ldc_ver:
- $(DUB) --compiler=ldc2 --config=doc-reform-ldc-version
+ $(DUB) --compiler=ldc2 --config=ldc-version
mv bin/doc-reform-ldc-ver bin/doc-reform-ldc-$(PROJECT_VERSION)
notify-send -t 0 'D ldc2 compiled test release executable ready' 'doc-reform-ldc-$(PROJECT_VERSION)'
ldc_clean_ver: clean tangle ldc_ver
-ldc_debug:
- $(DUB) --compiler=ldc2 --config=doc-reform-ldc-debug
ldc_rel: expunge skel tangle
$(DUB) --compiler=ldc2 --config=doc-reform-release
ldc_rel_tangle: tangle
@@ -155,6 +155,9 @@ reinit: clean skel tangle
skel:
mkdir -p build; \
mkdir -p subprojects; \
+ mkdir -p views; \
+ mkdir -p data; \
+ mkdir -p util; \
mkdir -p $(PRG_SRCDIR)/$(PRG_NAME_DIR)/conf; \
mkdir -p $(PRG_SRCDIR)/$(PRG_NAME_DIR)/meta; \
mkdir -p $(PRG_SRCDIR)/$(PRG_NAME_DIR)/output; \
@@ -183,6 +186,8 @@ expunge:
rm -rf $(PRG_DOCDIR);
distclean: expunge
distclean_and_init: expunge
+ mkdir -p views; \
+ mkdir -p util; \
mkdir -p $(PRG_SRCDIR)/$(PRG_NAME_DIR); \
mkdir -p $(PRG_BINDIR);
ver:
@@ -496,7 +501,7 @@ tangle: skel
(kill-buffer)) '($$ORGFILES)))" 2>&1
tangle_maker:
for f in $(ORGFILELIST); do \
- ORGFILES="\"maker.org\""; \
+ ORGFILES="\"org/dr_build_scaffold.org\""; \
done; \
emacs --batch -Q -q \
--eval "(progn \