[Pkg-wmaker-commits] [wmix] 11/44: wmix: install the man page at the same time as the program

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Sep 29 10:40:12 UTC 2017


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch upstream
in repository wmix.

commit 3134658f3679505ddcbae95bb8a21b9d73d22203
Author: Christophe CURIS <christophe.curis at free.fr>
Date:   Sat Jun 7 21:21:39 2014 +0200

    wmix: install the man page at the same time as the program
---
 Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 6ec329a..bc7bc3c 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,8 @@ OBJECTS		= misc.o mixer-oss.o ui_x.o wmix.o
 # where to install this program (also for packaging stuff)
 DESTDIR		=
 PREFIX		= $(DESTDIR)/usr/X11R6
-INSTALL		= -m 755
+INSTALL_BIN	= -m 755
+INSTALL_DATA	= -m 644
 
 wmix: $(OBJECTS)
 	$(CC) -o $@ $(LDFLAGS) $(OBJECTS) -lXpm -lXext -lX11 -lm
@@ -15,4 +16,5 @@ clean:
 	rm -rf *.o wmix *~
 
 install: wmix
-	install $(INSTALL) wmix $(PREFIX)/bin
+	install $(INSTALL_BIN)	wmix	$(PREFIX)/bin
+	install $(INSTALL_DATA)	wmix.1x	$(PREFIX)/man/man1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmix.git



More information about the Pkg-wmaker-commits mailing list