tabbed

Customized build of tabbed, the suckless tab manager
git clone git://src.adamsgaard.dk/tabbed
Log | Files | Refs | Submodules | README

commit fae2bf8add26ecd7dabfa5a2d738813180320ea0
parent ca631bbab31b36d4047a243e25067d02ac4a2481
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 21 Jan 2019 14:14:56 +0100

Build tabbed without customization

Diffstat:
MMakefile | 37+++++++++++++++++++------------------
1 file changed, 19 insertions(+), 18 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,31 +1,32 @@ -default: surf/surf +default: tabbed/tabbed .PHONY: install -install: /usr/local/bin/surf +install: /usr/local/bin/tabbed -surf/surf: surf/config.h - @echo "Building surf" - make -C surf/ +#tabbed/tabbed: tabbed/config.h +tabbed/tabbed: tabbed/ + @echo "Building tabbed" + make -C tabbed/ -surf/config.h: surf/config.def.h general.diff config.h - @echo "Copying default configuration to source directory" - @echo "Apply patches" - -for f in *.diff; do cp $$f surf/ && (cd surf && patch -p1 -N < $$f); done +# tabbed/config.h: tabbed/config.def.h general.diff config.h +# @echo "Copying default configuration to source directory" +# @echo "Apply patches" +# -for f in *.diff; do cp $$f tabbed/ && (cd tabbed && patch -p1 -N < $$f); done -surf/config.def.h: surf/ +# tabbed/config.def.h: tabbed/ -surf/: - @echo "Fetching surf source" - git clone https://git.suckless.org/surf +tabbed/: + @echo "Fetching tabbed source" + git clone https://git.suckless.org/tabbed -/usr/local/bin/surf: surf/surf - sudo make -C surf/ install +/usr/local/bin/tabbed: tabbed/tabbed + sudo make -C tabbed/ install general.diff: config.h - cp surf/config.def.h surf/config.h - -diff -u surf/config.h $< > $@ + cp tabbed/config.def.h tabbed/config.h + -diff -u tabbed/config.h $< > $@ .PHONY: clean clean: - $(RM) -r surf/ + $(RM) -r tabbed/ $(RM) general.diff