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

View file

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