# FOR JUST BUILD USE MESON # THIS IS A PACKAGING TOOL NAME = er2cord BDIR = /tmp/$(NAME) all: tar deb clean base: mkdir -p dist meson build --prefix=$(BDIR) ninja -C build install tar: base tar -C $(BDIR) -cvzf dist/$(NAME).tar.gz --xform s:'./':: ./ deb: base cp -r DEBIAN/ $(BDIR) dpkg-deb -b $(BDIR) dist/$(NAME).deb clean: rm -rf build $(BDIR)