aboutsummaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile27
1 files changed, 3 insertions, 24 deletions
diff --git a/makefile b/makefile
index 9489c0f..8b23e43 100644
--- a/makefile
+++ b/makefile
@@ -93,31 +93,13 @@ all_ver: dmd_ver ldc_ver gdc_ver
all_debug: dmd_debug gdc_debug ldc_debug
meson_clean_build_dir:
rm -r build; mkdir build
-meson_get_subprojects: meson_clean_build_dir
- rm -rf subprojects/d2sqlite3; rm -rf subprojects/imageformats
- rm -rf subprojects/dyaml; rm -rf subprojects/tinyendian
- git clone https://github.com/biozic/d2sqlite3.git subprojects/d2sqlite3
- git clone https://github.com/lgvz/imageformats.git subprojects/imageformats
- cd subprojects/d2sqlite3; \
- git checkout -b add_meson_build_patch; \
- cp ../d2sqlite3.meson.build meson.build; \
- git add . ; git commit -m"project meson.build added"; \
- cd ../..
- cd subprojects/imageformats; \
- git checkout -b add_meson_build_patch; \
- cp ../imageformats.meson.build meson.build; \
- git add . ; git commit -m"project meson.build added"; \
- cd ../..
-mesonclean: clean skel tangle dub_upgrade
- meson --buildtype=debugoptimized build
- ninja -C build
meson_build: meson_clean_build_dir
meson --buildtype=debugoptimized build
ninja -C build
notify-send -t 0 'D meson build ldc compiled test release executable ready' 'spine'
-meson_upgrade: dub_upgrade meson_get_subprojects
-meson_upgrade_and_build: dub_upgrade meson_get_subprojects meson_clean_build_dir meson_build
-meson: meson_clean_build_dir meson_build
+meson_redo: meson_clean_build_dir meson_build
+meson_project_build_clean: clean skel tangle dub_upgrade meson_build
+meson: meson_clean_build_dir dub_upgrade meson_build
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
@@ -178,7 +160,6 @@ skel:
mkdir -p $(PRG_BINDIR); \
mkdir -p $(PRG_BINDIR)-archive; \
mkdir -p build; \
- mkdir -p subprojects; \
mkdir -p views; \
mkdir -p data; \
mkdir -p util; \
@@ -192,7 +173,6 @@ skel:
init: skel
clean:
rm -rf build; \
- rm -rf subprojects; \
rm -rf $(PRG_SRCDIR); \
rm -rf $(PRG_DOCDIR);
clean_bin:
@@ -204,7 +184,6 @@ clean_docs:
expunge:
rm -f dub.selections.json; \
rm -rf build; \
- rm -rf subprojects; \
rm -rf $(PRG_SRCDIR); \
rm -rf $(PRG_BINDIR); \
rm -rf $(PRG_DOCDIR);