diff options
| author | Ralph Amissah <ralph@amissah.com> | 2020-03-06 15:11:55 -0500 | 
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2020-03-14 15:17:44 -0400 | 
| commit | 2c95e88e40ff3cf021eb9e2e0b7a87f68d5e1e37 (patch) | |
| tree | 85693bb7813a51f9af9925b08508280183962906 /makefile | |
| parent | meson build (subproject issue with imageformats >= 7.0.1) (diff) | |
meson using dubdoc-reform_v0.9.2
- the good
  - works
  - project looks pretty clean
- the bad
  - subprojects built externally
  - not suitable for debian packaging
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 27 | 
1 files changed, 3 insertions, 24 deletions
| @@ -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); | 
