File: Makefile

package info (click to toggle)
librem5-flash-image 0.0.5-1
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 200 kB
  • sloc: python: 494; makefile: 47; xml: 30
file content (22 lines) | stat: -rw-r--r-- 454 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
NULL =
SCRIPT = librem5-flash-image

SYMLINKS = \
  librem5-devkit-flash-image \
  librem5r2-flash-image \
  librem5r3-flash-image \
  librem5r4-flash-image \
  $(NULL)

BINDIR = $(PREFIX)/bin

check:
	flake8 librem5-devkit-flash-image
	python3 -m doctest librem5_flash_image.py

install:
	install -d $(DESTDIR)$(BINDIR)
	install -v -m 0755 $(SCRIPT) $(DESTDIR)$(BINDIR)
	for s in $(SYMLINKS); do \
	  ln -vsf $(SCRIPT) $(DESTDIR)$(BINDIR)/$$s ; \
	done