File: Makefile

package info (click to toggle)
tantan 23-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 492 kB
  • sloc: cpp: 2,062; sh: 58; makefile: 39
file content (24 lines) | stat: -rw-r--r-- 487 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
all:
	@cd src && ${MAKE}

prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
install: all
	mkdir -p ${bindir}
	cp src/tantan ${bindir}

clean:
	@cd src && ${MAKE} clean

README.html: README.txt
	rst2html README.txt > README.html

log:
	hg log --style changelog > ChangeLog.txt

distdir = tantan-`hg id -n`
dist: README.html log
	@cd src && ${MAKE} version.hh
	rsync -rC --exclude tantan src test Makefile *.txt README.html ${distdir}
	zip -qrm ${distdir} ${distdir}