Make the symlinking in 'make install' idempotent.
This commit is contained in:
parent
a568db73a6
commit
4b5efa150a
1 changed files with 4 additions and 2 deletions
|
@ -16,5 +16,7 @@ libpreload_la_LDFLAGS = -ldl
|
|||
bin_SCRIPTS = wrapper.py makecab.py
|
||||
|
||||
install-exec-hook:
|
||||
cd $(DESTDIR)$(bindir) && $(LN_S) wrapper.py candle
|
||||
cd $(DESTDIR)$(bindir) && $(LN_S) wrapper.py light
|
||||
cd $(DESTDIR)$(bindir) && \
|
||||
{ test -h candle || $(LN_S) wrapper.py candle; }
|
||||
cd $(DESTDIR)$(bindir) && \
|
||||
{ test -h light || $(LN_S) wrapper.py light; }
|
||||
|
|
Loading…
Add table
Reference in a new issue