utils/Makefile

65 lines
1.9 KiB
Makefile
Raw Normal View History

2021-02-15 18:02:09 +00:00
all: mkc
2022-06-26 04:45:59 +00:00
install: man sh c all
2021-02-15 18:02:09 +00:00
.PHONY: man sh mkc c
2020-12-13 20:10:20 +00:00
man:
2021-07-02 03:28:40 +00:00
# this used to be {command} $(DESTDIR)$(PREFIX)/man/man1
2022-01-07 08:30:04 +00:00
# this did not work on my computer, but might be needed on other installations
mkdir -p /usr/local/man/man1
cp -f man/* /usr/local/man/man1
2022-06-26 04:37:39 +00:00
2020-12-13 20:10:20 +00:00
sh:
mkdir -p $(DESTDIR)$(PREFIX)/bin
2021-06-14 04:34:05 +00:00
cp -f sh/paste $(DESTDIR)$(PREFIX)/bin
2022-07-13 05:01:08 +00:00
cp -f sh/trss $(DESTDIR)$(PREFIX)/bin
2022-07-19 03:07:17 +00:00
cp -f sh/trss-yt-id $(DESTDIR)$(PREFIX)/bin
2021-06-14 04:34:05 +00:00
cp -f sh/disp $(DESTDIR)$(PREFIX)/bin
cp -f sh/wallpaper $(DESTDIR)$(PREFIX)/bin
2021-06-14 04:34:05 +00:00
cp -f sh/connect $(DESTDIR)$(PREFIX)/bin
cp -f sh/nws $(DESTDIR)$(PREFIX)/bin
cp -f sh/vol $(DESTDIR)$(PREFIX)/bin
cp -f sh/proxtest $(DESTDIR)$(PREFIX)/bin
2022-02-22 18:37:36 +00:00
cp -f sh/pco $(DESTDIR)$(PREFIX)/bin
cp -f sh/git-survey $(DESTDIR)$(PREFIX)/bin
cp -f sh/vim-swap-handler $(DESTDIR)$(PREFIX)/bin
2022-06-18 20:28:59 +00:00
cp -f sh/status $(DESTDIR)$(PREFIX)/bin
cp -f sh/statusbar $(DESTDIR)$(PREFIX)/bin
2022-06-26 04:30:58 +00:00
cp -f sh/cfg $(DESTDIR)$(PREFIX)/bin
2022-06-26 23:59:05 +00:00
cp -f sh/fire $(DESTDIR)$(PREFIX)/bin
2022-06-27 00:55:51 +00:00
cp -f sh/pash-dmenu $(DESTDIR)$(PREFIX)/bin
2022-06-27 01:24:41 +00:00
cp -f sh/pash-dmenu-backend $(DESTDIR)$(PREFIX)/bin
2022-07-05 19:08:31 +00:00
cp -f sh/tmenu $(DESTDIR)$(PREFIX)/bin
cp -f sh/tmenu-backend $(DESTDIR)$(PREFIX)/bin
cp -f sh/tmenu_run $(DESTDIR)$(PREFIX)/bin
2022-07-05 20:43:21 +00:00
cp -f sh/ss $(DESTDIR)$(PREFIX)/bin
2022-07-06 05:12:20 +00:00
cp -f sh/net $(DESTDIR)$(PREFIX)/bin
2022-07-08 03:34:55 +00:00
cp -f sh/bspwm-toggle-gaps $(DESTDIR)$(PREFIX)/bin
2022-07-15 20:48:02 +00:00
cp -f sh/machine $(DESTDIR)$(PREFIX)/bin
2022-07-08 04:03:24 +00:00
cp -f sh/brightness $(DESTDIR)$(PREFIX)/bin
2022-09-15 01:36:12 +00:00
cp -f sh/git-credential-gitpass $(DESTDIR)$(PREFIX)/bin
check:
shellcheck sh/*
mkc: c/scream c/timer c/boid c/anaconda c/colors
2022-06-26 04:45:59 +00:00
c/boid:
cc c/boid.c -o c/boid -lm -lX11
2022-06-26 04:45:59 +00:00
c/anaconda:
2021-10-18 23:53:47 +00:00
cc c/anaconda.c -o c/anaconda -lm -lX11
2021-02-15 18:02:09 +00:00
c:
2021-06-14 04:34:05 +00:00
cp -f c/scream $(DESTDIR)$(PREFIX)/bin
cp -f c/timer $(DESTDIR)$(PREFIX)/bin
cp -f c/boid $(DESTDIR)$(PREFIX)/bin
cp -f c/anaconda $(DESTDIR)$(PREFIX)/bin
2022-06-26 04:37:39 +00:00
cp -f c/colors $(DESTDIR)$(PREFIX)/bin
2022-06-08 05:31:34 +00:00
2021-04-26 15:58:46 +00:00
clean:
2021-06-14 04:34:05 +00:00
rm c/scream
2022-01-07 08:30:04 +00:00
rm c/timer
rm c/boid
rm c/anaconda
rm c/simplestatus