[Pkg-wmaker-commits] [wmtop] 21/34: debian/patches/fix_install.patch: New patch; honor DESTDIR environment variable, create installation directories, and install manpage according to FHS.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Wed Aug 26 01:01:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmtop.
commit dca12d504f1bf2aa18e4a81faaa3f8a1d86960aa
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Mon Jul 13 12:17:55 2015 -0600
debian/patches/fix_install.patch: New patch; honor DESTDIR environment
variable, create installation directories, and install manpage according to
FHS.
---
debian/patches/fix_install.patch | 23 +++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 24 insertions(+)
diff --git a/debian/patches/fix_install.patch b/debian/patches/fix_install.patch
new file mode 100644
index 0000000..e5bedb7
--- /dev/null
+++ b/debian/patches/fix_install.patch
@@ -0,0 +1,23 @@
+Description: Fix install.
+ Honor DESTDIR environment variable, create installation directories, and
+ install manpage according to FHS.
+Author: Doug Torrance <dtorrance at monmouthcollege.edu>
+Last-Update: 2015-07-13
+
+--- a/Makefile
++++ b/Makefile
+@@ -39,8 +39,10 @@
+
+ install: wmtop
+ #strip wmtop
+- cp -f wmtop $(PREFIX)/bin/
+- chmod 755 $(PREFIX)/bin/wmtop
+- cp -f wmtop.1 $(PREFIX)/man/man1
+- chmod 644 $(PREFIX)/man/man1/wmtop.1
++ mkdir -p $(DESTDIR)$(PREFIX)/bin
++ cp -f wmtop $(DESTDIR)$(PREFIX)/bin/
++ chmod 755 $(DESTDIR)$(PREFIX)/bin/wmtop
++ mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
++ cp -f wmtop.1 $(DESTDIR)$(PREFIX)/share/man/man1
++ chmod 644 $(DESTDIR)$(PREFIX)/share/man/man1/wmtop.1
+ @echo "wmtop Installation finished..."
diff --git a/debian/patches/series b/debian/patches/series
index 6c9bbac..d4acb9d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
fix_incorrect_memory_usage.patch
comment_strip_of_binary.patch
fix_manpage.patch
+fix_install.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmtop.git
More information about the Pkg-wmaker-commits
mailing list