My build of dwm
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

72 lines
2.3 KiB

  1. Description: Commands in Makefile should be visible while execution
  2. This patch removes @ from the Makefile so that command execution is
  3. visible to every one when DH_VERBOSE=1
  4. Author: Vasudev Kamath <kamathvasudev@gmail.com>
  5. Last-Update: 2016-03-26
  6. Forwarded: not-needed
  7. --- a/Makefile 2016-03-26 17:46:10.988905902 +0100
  8. +++ b/Makefile 2016-03-26 18:03:02.847233725 +0100
  9. @@ -16,45 +16,45 @@
  10. .c.o:
  11. @echo CC $<
  12. - @${CC} -c ${CFLAGS} $<
  13. + ${CC} -c ${CFLAGS} $<
  14. ${OBJ}: config.h config.mk
  15. config.h:
  16. @echo creating $@ from config.def.h
  17. - @cp config.def.h $@
  18. + cp config.def.h $@
  19. dwm: ${OBJ}
  20. @echo CC -o $@
  21. - @${CC} -o $@ ${OBJ} ${LDFLAGS}
  22. + ${CC} -o $@ ${OBJ} ${LDFLAGS}
  23. clean:
  24. @echo cleaning
  25. - @rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz
  26. + rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz
  27. dist: clean
  28. @echo creating dist tarball
  29. - @mkdir -p dwm-${VERSION}
  30. - @cp -R LICENSE TODO BUGS Makefile README config.def.h config.mk \
  31. + mkdir -p dwm-${VERSION}
  32. + cp -R LICENSE TODO BUGS Makefile README config.def.h config.mk \
  33. dwm.1 drw.h util.h ${SRC} dwm.png transient.c dwm-${VERSION}
  34. - @tar -cf dwm-${VERSION}.tar dwm-${VERSION}
  35. - @gzip dwm-${VERSION}.tar
  36. - @rm -rf dwm-${VERSION}
  37. + tar -cf dwm-${VERSION}.tar dwm-${VERSION}
  38. + gzip dwm-${VERSION}.tar
  39. + rm -rf dwm-${VERSION}
  40. install: all
  41. @echo installing executable file to ${DESTDIR}${PREFIX}/bin
  42. - @mkdir -p ${DESTDIR}${PREFIX}/bin
  43. - @cp -f dwm ${DESTDIR}${PREFIX}/bin
  44. - @chmod 755 ${DESTDIR}${PREFIX}/bin/dwm
  45. + mkdir -p ${DESTDIR}${PREFIX}/bin
  46. + cp -f dwm ${DESTDIR}${PREFIX}/bin
  47. + chmod 755 ${DESTDIR}${PREFIX}/bin/dwm
  48. @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
  49. - @mkdir -p ${DESTDIR}${MANPREFIX}/man1
  50. - @sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
  51. - @chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
  52. + mkdir -p ${DESTDIR}${MANPREFIX}/man1
  53. + sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
  54. + chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
  55. uninstall:
  56. @echo removing executable file from ${DESTDIR}${PREFIX}/bin
  57. - @rm -f ${DESTDIR}${PREFIX}/bin/dwm
  58. + rm -f ${DESTDIR}${PREFIX}/bin/dwm
  59. @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
  60. - @rm -f ${DESTDIR}${MANPREFIX}/man1/dwm.1
  61. + rm -f ${DESTDIR}${MANPREFIX}/man1/dwm.1
  62. .PHONY: all options clean dist install uninstall