"Fossies" - the Fresh Open Source Software Archive

Member "ipfire-2.x-2.27-core174/src/patches/beep/0001-Fixed-Makefile.patch" (7 Apr 2023, 915 Bytes) of package /linux/misc/ipfire-2.x-2.27-core174.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 From 8b32b8b088be1f29e8bfea57a97b9bfaa76ec8ee Mon Sep 17 00:00:00 2001
    2 From: Chris Wong <chrisyco@gmail.com>
    3 Date: Wed, 23 Nov 2011 10:39:53 +1300
    4 Subject: [PATCH] Fixed Makefile
    5 
    6 * Use /usr/share/man (see http://www.pathname.com/fhs/2.2/fhs-4.11.html#4.11.5)
    7 
    8 * Removed trailing spaces
    9 
   10 * Added optimization flag (must beep FAST!!!)
   11 ---
   12  Makefile | 8 ++++----
   13  1 file changed, 4 insertions(+), 4 deletions(-)
   14 
   15 diff --git a/Makefile b/Makefile
   16 index cc359c4..0f4f810 100644
   17 --- a/Makefile
   18 +++ b/Makefile
   19 @@ -1,19 +1,19 @@
   20  CC=gcc
   21 -FLAGS=-Wall
   22 +FLAGS=-Wall -O2
   23  EXEC_NAME=beep
   24  INSTALL_DIR=/usr/bin
   25  MAN_FILE=beep.1.gz
   26 -MAN_DIR=/usr/man/man1
   27 +MAN_DIR=/usr/share/man/man1
   28  
   29  default : beep
   30  
   31 -clean : 
   32 +clean :
   33     rm ${EXEC_NAME}
   34  
   35  beep : beep.c
   36     ${CC} ${FLAGS} -o ${EXEC_NAME} beep.c
   37  
   38 -install : 
   39 +install :
   40     cp ${EXEC_NAME} ${INSTALL_DIR}
   41     # rm -f /usr/man/man1/beep.1.bz2
   42     cp ${MAN_FILE} ${MAN_DIR}
   43 -- 
   44 2.7.5