1
0

patch-Makefile 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. do not strip by install
  2. --- evilwm-1.0.1.orig/Makefile 2009-03-30 12:37:06.000000000 +0200
  3. +++ evilwm-1.0.1/Makefile 2010-01-27 08:14:46.000000000 +0100
  4. @@ -1,11 +1,11 @@
  5. # If you don't use CC
  6. -CC = gcc
  7. +CC ?= gcc
  8. # Edit this line if you don't want evilwm to install under /usr.
  9. # Note that $(DESTDIR) is used by the Debian build process.
  10. prefix = $(DESTDIR)/usr
  11. -XROOT = /usr/X11R6
  12. +XROOT ?= /usr/X11R6
  13. INCLUDES = -I$(XROOT)/include
  14. LDPATH = -L$(XROOT)/lib
  15. LIBS = -lX11
  16. @@ -35,8 +35,8 @@ LIBS += -lXext
  17. # Be sure that libXrandr is in your library search directory (e.g., under
  18. # Solaris, it is in /usr/X11R6/lib, so can be built against with the default
  19. # XPATH above, but won't necessarily be in the library search path).
  20. -DEFINES += -DRANDR
  21. -LIBS += -lXrandr
  22. +#DEFINES += -DRANDR
  23. +#LIBS += -lXrandr
  24. # Uncomment for mouse support. You probably want this.
  25. DEFINES += -DMOUSE
  26. @@ -71,7 +71,7 @@ distname = evilwm-$(version)
  27. #DEFINES += -DXDEBUG # show some X calls
  28. DEFINES += -DVERSION=\"$(version)\" $(DEBIAN)
  29. -CFLAGS += $(INCLUDES) $(DEFINES) -Os -Wall
  30. +CFLAGS += $(INCLUDES) $(DEFINES) -Wall
  31. #CFLAGS += $(INCLUDES) $(DEFINES) -g -Wall
  32. CFLAGS += -W -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Waggregate-return -Wnested-externs -Winline -Wwrite-strings -Wundef -Wsign-compare -Wmissing-prototypes -Wredundant-decls
  33. LDFLAGS += $(LDPATH) $(LIBS)
  34. @@ -93,7 +93,7 @@ evilwm: $(OBJS)
  35. install: evilwm
  36. if [ -f evilwm.exe ]; then mv evilwm.exe evilwm; fi
  37. mkdir -p $(prefix)/bin $(prefix)/share/man/man1
  38. - install -s evilwm $(prefix)/bin
  39. + install evilwm $(prefix)/bin
  40. install evilwm.1 $(prefix)/share/man/man1
  41. #gzip -9 $(prefix)/share/man/man1/evilwm.1