File: Makefile

package info (click to toggle)
fonts-gargi 2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,012 kB
  • ctags: 14
  • sloc: makefile: 54
file content (26 lines) | stat: -rw-r--r-- 543 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
23
24
25
26
VERSION = 2.0
ARCHIVE = Gargi-${VERSION}
CURDIR := $(shell pwd)

TMP := $(shell mktemp -d Gargi.XXX)

default:
	./generate.pe Gargi_2.0.sfd
	rm -rf ${TMP}
clean:
	rm -rf ${TMP}
	rm -f *.ttf
sdist:
	mkdir -p ${TMP}/${ARCHIVE}
	cp *.sfd COPYING *.txt Makefile generate.pe ${TMP}/${ARCHIVE}
	tar -cvJf ${ARCHIVE}.src.tar.xz -C ${TMP}/${ARCHIVE} .
	rm -rf ${TMP}

bdist: default
	mkdir -p ${TMP}/${ARCHIVE}
	cp *.ttf COPYING *.txt ${TMP}/${ARCHIVE}
	tar -cvJf ${ARCHIVE}.tar.xz -C ${TMP}/${ARCHIVE} .
	rm -rf ${TMP}

distclean: clean
	rm -rf *.xz