debian/rules.d/tools/lib/lockdep/Makefile: Fix repeated 'make install'

Currently the 'ln -s' command fails when run a second time.  Add the
-f option to fix this.
This commit is contained in:
Ben Hutchings 2018-04-06 21:00:10 +02:00
parent 354e9c4806
commit f980187986
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -49,6 +49,7 @@ linux (4.16-1~exp1) UNRELEASED; urgency=medium
* debian/lib/python/debian_linux/debian.py: Close changelog after parsing
* debian/lib/python/debian_linux/debian.py: Allow parsing any file as
changelog
* debian/rules.d/tools/lib/lockdep/Makefile: Fix repeated 'make install'
-- Roger Shimizu <rogershimizu@gmail.com> Fri, 23 Mar 2018 21:10:34 +0900

View File

@ -19,5 +19,5 @@ install:
$(MAKE_LOCKDEP) install
mkdir -p $(DESTDIR)/usr/include
cp -R $(top_srcdir)/$(OUTDIR)/include/liblockdep $(DESTDIR)/usr/include/
ln -s liblockdep.so.$(VERSION) \
ln -sf liblockdep.so.$(VERSION) \
$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/liblockdep.so