diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7a0506d --- /dev/null +++ b/Makefile @@ -0,0 +1,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 |