yeahwm: fix patch's whitespace

This commit is contained in:
Đoàn Trần Công Danh 2022-08-26 23:21:45 +07:00
parent 2f2bda71bb
commit ede7a15344
1 changed files with 6 additions and 5 deletions

View File

@ -2,8 +2,8 @@ Enable configurable CC and XROOT.
Add missing $(LIBS) to link and remove strip.
Add yeahwm.1 to install target.
--- a/Makefile 2004-11-21 19:11:04.000000000 +0100
+++ b/Makefile 2015-10-25 23:20:45.306617941 +0100
--- yeahwm-0.3.5.orig/Makefile
+++ yeahwm-0.3.5/Makefile
@@ -1,11 +1,11 @@
# If you don't use CC
-CC = gcc
@ -18,16 +18,17 @@ Add yeahwm.1 to install target.
INCLUDES = -I$(XROOT)/include
LDPATH = -L$(XROOT)/lib
LIBS = -lX11
@@ -55,7 +55,6 @@
@@ -55,8 +55,7 @@ OBJS = $(SRCS:.c=.o)
all: yeahwm
yeahwm: $(OBJS)
- $(CC) $(CFLAGS) $(OBJS) -o $@ $(LDFLAGS)
- strip yeahwm
+ $(CC) $(CFLAGS) $(OBJS) -o $@ $(LDFLAGS) $(LIBS)
- strip yeahwm
allinone:
@@ -71,7 +71,7 @@
cat yeahwm.h $(SRCS) | sed 's/^#include.*yeahwm.*$$//' > allinone.c
@@ -71,7 +70,7 @@ doinstall:
if [ -f yeahwm.exe ]; then mv yeahwm.exe yeahwm; fi
mkdir -p $(prefix)/bin $(prefix)/share/man/man1
install -s yeahwm $(prefix)/bin