File: Makefile

package info (click to toggle)
fssync 1.6-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 176 kB
  • ctags: 4
  • sloc: python: 1,468; makefile: 27
file content (21 lines) | stat: -rw-r--r-- 372 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PREFIX = /usr/local

.PHONY: all install uninstall clean test

all: fssync.1

fssync.1: README.rst
	rst2man $< $@

install: all
	install -Dp fssync $(DESTDIR)$(PREFIX)/bin/fssync
	install -Dpm 0644 fssync.1 $(DESTDIR)$(PREFIX)/share/man/man1/fssync.1

uninstall:
	-cd $(DESTDIR)$(PREFIX) && rm -f bin/fssync share/man/man1/fssync.1

clean:
	-rm -f fssync.1

test:
	./test