er2cord/Makefile

23 lines
345 B
Makefile
Raw Normal View History

2021-11-07 18:34:50 +00:00
# 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 ./
2021-11-07 18:34:50 +00:00
deb: base
cp -r DEBIAN/ $(BDIR)
2021-11-08 08:08:01 +00:00
-dpkg-deb -b $(BDIR) dist/$(NAME).deb
2021-11-07 18:34:50 +00:00
clean:
rm -rf build $(BDIR)