Browse Source

removed target "all" from "install" dependencies - fix build on GNU Guix

dwm6.4
Ivan Polyakov 3 years ago
parent
commit
feb71c0eb7
  1. 14
      Makefile

14
Makefile

@ -37,7 +37,7 @@ dist: clean
gzip dwm-${VERSION}.tar gzip dwm-${VERSION}.tar
rm -rf dwm-${VERSION} rm -rf dwm-${VERSION}
install: all install:
mkdir -p ${DESTDIR}${PREFIX}/bin mkdir -p ${DESTDIR}${PREFIX}/bin
cp -f dwm ${DESTDIR}${PREFIX}/bin cp -f dwm ${DESTDIR}${PREFIX}/bin
chmod 755 ${DESTDIR}${PREFIX}/bin/dwm chmod 755 ${DESTDIR}${PREFIX}/bin/dwm
@ -49,14 +49,14 @@ uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/dwm\ rm -f ${DESTDIR}${PREFIX}/bin/dwm\
${DESTDIR}${MANPREFIX}/man1/dwm.1 ${DESTDIR}${MANPREFIX}/man1/dwm.1
orig: backup:
find . -iname '*.[ch]' -exec sh -c 'cp $$0 $$0.unpatched' {} \; find . -iname '*.[ch]' -exec sh -c 'cp $$0 $$0.backup' {} \;
restore: restore:
find . -iname '*.unpatched' \ find . -iname '*.backup' \
-exec sh -c 'mv $$0 "$${0%.unpatched}"' {} \; -exec sh -c 'mv $$0 "$${0%.backup}"' {} \;
patch: orig patch: backup
find ${PATCHESDIR} -iname '*.diff' -exec sh -c 'patch < $$0' {} \; find ${PATCHESDIR} -iname '*.diff' -exec sh -c 'patch < $$0' {} \;
.PHONY: all options clean dist install uninstall orig patch restore .PHONY: all options clean dist install uninstall backup patch restore

Loading…
Cancel
Save