From: Subrata <sub...@us...> - 2008-10-17 12:20:10
|
Update of /cvsroot/ltp/ltp/doc/man1 In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2271/ltp/doc/man1 Modified Files: Makefile Log Message: Introduced PREFIX and LIBSUFFIX variables. DESTDIR is often used within packaging scripts/spec files. Use PREFIX variable instead to manipulate the installation destination directory. Introduced LIBSUFFIX to allow to manipulate library directory to lib64 e.g. for distribution packaging for x86_64 or others architectures. Signed-off-by: Daniel Gollub <dg...@su...>. Index: Makefile =================================================================== RCS file: /cvsroot/ltp/ltp/doc/man1/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 20 May 2008 11:13:34 -0000 1.2 --- Makefile 17 Oct 2008 12:20:03 -0000 1.3 *************** *** 1,5 **** ! DESTDIR=/usr MANPAGES=bump.1 doio.1 iogen.1 pan.1 --- 1,5 ---- ! PREFIX=/usr MANPAGES=bump.1 doio.1 iogen.1 pan.1 *************** *** 8,12 **** install: $(MANPAGES) for i in $(MANPAGES); do \ ! install -D -m 644 $$i $(DESTDIR)/share/man/man1/$$i; \ done --- 8,12 ---- install: $(MANPAGES) for i in $(MANPAGES); do \ ! install -D -m 644 $$i $(DESTDIR)/$(PREFIX)/share/man/man1/$$i; \ done |