[Pkg-wmaker-commits] [wmbatppc] 24/35: debian/patches: (use_relative_symlinks.patch) Fix installation of batppc command line utility and its manpage.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sat Aug 22 02:23:49 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmbatppc.
commit 3332b6cf44f47eb875e56bbe72456fb7f638a62b
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Wed Dec 31 09:23:05 2014 -0600
debian/patches: (use_relative_symlinks.patch) Fix installation of batppc
command line utility and its manpage.
---
debian/patches/series | 1 +
debian/patches/use_relative_symlinks.patch | 19 +++++++++++++++++++
2 files changed, 20 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index c63ae98..3df1e44 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
fix_link_order.patch
remove_X11R6_dir.patch
fix_build_flags.patch
+use_relative_symlinks.patch
diff --git a/debian/patches/use_relative_symlinks.patch b/debian/patches/use_relative_symlinks.patch
new file mode 100644
index 0000000..201e4fd
--- /dev/null
+++ b/debian/patches/use_relative_symlinks.patch
@@ -0,0 +1,19 @@
+Description: Use relative symbolic links.
+ Otherwise, we get package-contains-broken-symlink Lintian warnings and the
+ batppc command line utility and its manpage will not work.
+Author: Doug Torrance <dtorrance at monmouthcollege.edu>
+Last-Update: 2014-12-31
+
+--- a/Makefile
++++ b/Makefile
+@@ -30,8 +30,8 @@
+ install:: wmbatppc
+ $(INSTALL) -d $(PREFIX)/bin
+ $(INSTALL) -s -m 755 wmbatppc $(PREFIX)/bin
+- ln -s $(PREFIX)/bin/wmbatppc $(PREFIX)/bin/batppc
++ ln -sr $(PREFIX)/bin/wmbatppc $(PREFIX)/bin/batppc
+ $(INSTALL) -d $(PREFIX)/share/man/man1
+ $(INSTALL) -m 644 wmbatppc.1 $(PREFIX)/share/man/man1
+- ln -s $(PREFIX)/share/man/man1/wmbatppc.1 $(PREFIX)/share/man/man1/batppc.1
++ ln -sr $(PREFIX)/share/man/man1/wmbatppc.1 $(PREFIX)/share/man/man1/batppc.1
+ @echo "wmbatppc Installation finished..."
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbatppc.git
More information about the Pkg-wmaker-commits
mailing list