aboutsummaryrefslogblamecommitdiffstats
path: root/xorg-xrandr/setres/Makefile
blob: c14aa8ac61cdf0e442d716d44950223610b2aa2a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

           



                                 




                                      

                               

      
                                                          

                  
                        

                             
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 $@

clean:
	-rm -rf -- *.zip *.pyc __main__.py __pycache__/ *~

reallyclean: clean
	-rm -f -- setres

.PHONY: all clean reallyclean