From 391791f6165653ebe4c4f25af953841a3b0fc6c7 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 25 Nov 2023 19:23:41 +0100 Subject: Update setres MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- xorg-xrandr/setres/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'xorg-xrandr/setres/Makefile') 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 -- cgit v1.2.3-70-g09d2