diff options
| author | Mattias Andrée <maandree@kth.se> | 2021-04-06 03:38:11 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2021-04-06 03:38:11 +0200 |
| commit | e99553d3609956d1ecb2b28ceefe28e1b68aecb9 (patch) | |
| tree | 50ebdc8a2818ecf73893d7b94172de0b8a057a90 /multicall-symlinks.mk | |
| parent | Use libsimple instead of libcore (diff) | |
| download | pdatools-e99553d3609956d1ecb2b28ceefe28e1b68aecb9.tar.gz pdatools-e99553d3609956d1ecb2b28ceefe28e1b68aecb9.tar.bz2 pdatools-e99553d3609956d1ecb2b28ceefe28e1b68aecb9.tar.xz | |
Add (default) ability to build multicall binary
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'multicall-symlinks.mk')
| -rw-r--r-- | multicall-symlinks.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/multicall-symlinks.mk b/multicall-symlinks.mk new file mode 100644 index 0000000..592804a --- /dev/null +++ b/multicall-symlinks.mk @@ -0,0 +1,10 @@ +all: pdatools + +install: pdatools install-common + mkdir -p -- "$(DESTDIR)$(PREFIX)/lib" + mkdir -p -- "$(DESTDIR)$(PREFIX)/bin" + cp -- pdatools "$(DESTDIR)$(PREFIX)/lib/" + cd -- "$(DESTDIR)$(PREFIX)/bin/" &&\ + for f in $(BIN); do\ + ln -s -- ../lib/pdatools "$$f" || exit 1;\ + done |
