12345678910111213141516171819202122232425262728293031323334 |
- --- Makefile 2004-11-21 10:11:04.000000000 -0800
- +++ Makefile.new 2016-02-24 16:51:45.053767286 -0800
- @@ -5,6 +5,7 @@
- # Note that $(DESTDIR) is used by the Debian build process.
- prefix = $(DESTDIR)/usr
-
- +MANPATH = share/man
- XROOT = /usr/X11R6
- INCLUDES = -I$(XROOT)/include
- LDPATH = -L$(XROOT)/lib
- @@ -43,7 +44,7 @@
- #DEFINES += -DXDEBUG # show some X calls
-
- DEFINES += -DVERSION=\"$(version).$(revision).$(subrev)\" $(DEBIAN)
- -CFLAGS += $(INCLUDES) $(DEFINES) -Wall -Os
- +CFLAGS += $(INCLUDES) $(DEFINES) -Wall
- #CFLAGS += $(INCLUDES) $(DEFINES) -g -Wall
- CFLAGS += -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Waggregate-return -Wnested-externs -Winline -Wwrite-strings -Wundef
- LDFLAGS += $(LDPATH) $(LIBS)
- @@ -69,10 +70,10 @@
-
- doinstall:
- if [ -f yeahwm.exe ]; then mv yeahwm.exe yeahwm; fi
- - mkdir -p $(prefix)/bin $(prefix)/share/man/man1
- + mkdir -p $(prefix)/bin $(prefix)/$(MANPATH)/man1
- install -s yeahwm $(prefix)/bin
- - #install yeahwm.1 $(prefix)/share/man/man1
- - #gzip -9 $(prefix)/share/man/man1/yeahwm.1
- + install -m0644 yeahwm.1 $(prefix)/$(MANPATH)/man1
- + gzip -9 $(prefix)/$(MANPATH)/man1/yeahwm.1
-
- install: doinstall
-
|