diff options
author | Mattias Andrée <m@maandree.se> | 2024-12-02 20:51:28 +0100 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2024-12-02 20:51:28 +0100 |
commit | 37597db597c517498165946a141d6192560acf0e (patch) | |
tree | 09a98b10880f2740f7171f9d397711cf8ce155ff /Makefile | |
parent | First commit (diff) | |
download | ffutils-37597db597c517498165946a141d6192560acf0e.tar.gz ffutils-37597db597c517498165946a141d6192560acf0e.tar.bz2 ffutils-37597db597c517498165946a141d6192560acf0e.tar.xz |
Second commit
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'Makefile')
-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 |