Install all development files under /usr
This commit is contained in:
parent
b8b31887a5
commit
2904bfac3c
6 changed files with 30 additions and 7 deletions
7
debian/rules
vendored
7
debian/rules
vendored
|
@ -62,8 +62,11 @@ common-install-arch::
|
|||
mv $${f} $(CURDIR)/debian/tmp/etc/nut/$${nf}; \
|
||||
done
|
||||
|
||||
# Create -dev symlink under /usr
|
||||
ln -s /lib/$(DEB_HOST_MULTIARCH)/libupsclient.so.1.1.0 \
|
||||
# Move -dev file to /usr
|
||||
mv $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/libupsclient.a \
|
||||
$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libupsclient.a
|
||||
rm -f $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/libupsclient.so
|
||||
ln -s /lib/$(DEB_HOST_MULTIARCH)/libupsclient.so.1 \
|
||||
$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libupsclient.so
|
||||
|
||||
# Install systemd files only on systems where it's supported
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue