aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 7a0506d072dabe7742aed632ea958fb76476f586 (plain) (blame)
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
27
28
.POSIX:

CONFIGFILE = config.mk
include $(CONFIGFILE)

BIN =\
	ffextract-audio\
	ffextract-frame\
	ffget-audio-extension\
	ffuse-frame

MAN1 = $(BIN:=.1)

all:

install:
	mkdir -p -- "$(DESTDIR)$(PREFIX)/bin"
	mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1"
	cp -- $(BIN) "$(DESTDIR)$(PREFIX)/bin/"
	cp -- $(MAN1) "$(DESTDIR)$(MANPREFIX)/man1/"

uninstall:
	-cd -- "$(DESTDIR)$(PREFIX)/bin/" && rm -f -- $(BIN)
	-cd -- "$(DESTDIR)$(MANPREFIX)/man1/" && rm -f -- $(MAN1)

clean:

.PHONY: all install uninstall clean