diff options
author | Mattias Andrée <maandree@kth.se> | 2023-11-25 19:23:41 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-11-25 19:23:41 +0100 |
commit | 391791f6165653ebe4c4f25af953841a3b0fc6c7 (patch) | |
tree | 2c97d82e061ad8ffbc5a96e0c72a870109011cd4 /xorg-xrandr/setres/Makefile | |
parent | Misc updates (diff) | |
download | dotfiles-391791f6165653ebe4c4f25af953841a3b0fc6c7.tar.gz dotfiles-391791f6165653ebe4c4f25af953841a3b0fc6c7.tar.bz2 dotfiles-391791f6165653ebe4c4f25af953841a3b0fc6c7.tar.xz |
Update setres
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'xorg-xrandr/setres/Makefile')
-rw-r--r-- | xorg-xrandr/setres/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/xorg-xrandr/setres/Makefile b/xorg-xrandr/setres/Makefile index 770d45d..c14aa8a 100644 --- a/xorg-xrandr/setres/Makefile +++ b/xorg-xrandr/setres/Makefile @@ -1,17 +1,21 @@ all: setres +__main__.py: __main__.py.gpp + gpp -s '%%' < $@.gpp > $@ + chmod -- a+x "$@" + setres.zip: __main__.py get.py set.py zip $@ $^ setres: setres.zip echo '#!/usr/bin/python3' > $@ - cat setres.zip >> $@ - chmod a+x $@ + cat -- setres.zip >> $@ + chmod -- a+x $@ clean: - -rm -r *.zip *.pyc __pycache__/ *~ + -rm -rf -- *.zip *.pyc __main__.py __pycache__/ *~ reallyclean: clean - -rm setres + -rm -f -- setres .PHONY: all clean reallyclean |