aewl

diff Makefile @ 759:45f23169563e

renamed dwm to aewl updated copyright notices updated man page
author meillo@marmaro.de
date Fri, 30 May 2008 22:18:18 +0200
parents 427608ef0687
children 794a83e74023
line diff
     1.1 --- a/Makefile	Fri May 30 21:57:51 2008 +0200
     1.2 +++ b/Makefile	Fri May 30 22:18:18 2008 +0200
     1.3 @@ -1,53 +1,53 @@
     1.4 -# dwm - dynamic window manager
     1.5 +# aewl - a fork of dwm, the dynamic window manager
     1.6  #   (C)opyright MMVI-MMVII Anselm R. Garbe
     1.7  
     1.8  include config.mk
     1.9  
    1.10  
    1.11 -all: options dwm
    1.12 +all: options aewl
    1.13  
    1.14  options:
    1.15 -	@echo dwm build options:
    1.16 +	@echo aewl build options:
    1.17  	@echo "CFLAGS   = ${CFLAGS}"
    1.18  	@echo "LDFLAGS  = ${LDFLAGS}"
    1.19  	@echo "CC       = ${CC}"
    1.20  
    1.21 -dwm.o: dwm.c config.h config.mk
    1.22 +aewl.o: aewl.c config.h config.mk
    1.23  	@echo CC $<
    1.24  	@${CC} -c ${CFLAGS} $<
    1.25  
    1.26 -dwm: dwm.o
    1.27 +aewl: aewl.o
    1.28  	@echo CC -o $@
    1.29 -	@${CC} -o $@ dwm.o ${LDFLAGS}
    1.30 +	@${CC} -o $@ aewl.o ${LDFLAGS}
    1.31  	@strip $@
    1.32  
    1.33  clean:
    1.34  	@echo cleaning
    1.35 -	@rm -f dwm *.o dwm-${VERSION}.tar.gz
    1.36 +	@rm -f aewl *.o aewl-*.tar.gz
    1.37  
    1.38  dist: clean
    1.39  	@echo creating dist tarball
    1.40 -	@mkdir -p dwm-${VERSION}
    1.41 -	@cp -R LICENSE Makefile README config.*.h config.mk \
    1.42 -		dwm.1 dwm.h ${SRC} dwm-${VERSION}
    1.43 -	@tar -cf dwm-${VERSION}.tar dwm-${VERSION}
    1.44 -	@gzip dwm-${VERSION}.tar
    1.45 -	@rm -rf dwm-${VERSION}
    1.46 +	@mkdir -p aewl-${VERSION}
    1.47 +	@cp -R LICENSE Makefile README config.h config.mk \
    1.48 +		aewl.1 aewl.h ${SRC} aewl-${VERSION}
    1.49 +	@tar -cf aewl-${VERSION}.tar aewl-${VERSION}
    1.50 +	@gzip aewl-${VERSION}.tar
    1.51 +	@rm -rf aewl-${VERSION}
    1.52  
    1.53  install: all
    1.54  	@echo installing executable file to ${DESTDIR}${PREFIX}/bin
    1.55  	@mkdir -p ${DESTDIR}${PREFIX}/bin
    1.56 -	@cp -f dwm ${DESTDIR}${PREFIX}/bin
    1.57 -	@chmod 755 ${DESTDIR}${PREFIX}/bin/dwm
    1.58 +	@cp -f aewl ${DESTDIR}${PREFIX}/bin
    1.59 +	@chmod 755 ${DESTDIR}${PREFIX}/bin/aewl
    1.60  	@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
    1.61  	@mkdir -p ${DESTDIR}${MANPREFIX}/man1
    1.62 -	@sed 's/VERSION/${VERSION}/g' < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
    1.63 -	@chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
    1.64 +	@sed 's/VERSION/${VERSION}/g' < aewl.1 > ${DESTDIR}${MANPREFIX}/man1/aewl.1
    1.65 +	@chmod 644 ${DESTDIR}${MANPREFIX}/man1/aewl.1
    1.66  
    1.67  uninstall:
    1.68  	@echo removing executable file from ${DESTDIR}${PREFIX}/bin
    1.69 -	@rm -f ${DESTDIR}${PREFIX}/bin/dwm
    1.70 +	@rm -f ${DESTDIR}${PREFIX}/bin/aewl
    1.71  	@echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
    1.72 -	@rm -f ${DESTDIR}${MANPREFIX}/man1/dwm.1
    1.73 +	@rm -f ${DESTDIR}${MANPREFIX}/man1/aewl.1
    1.74  
    1.75  .PHONY: all options clean dist install uninstall