1
0
Fork 0

move dotfiles/packages/all to Makefile

This commit is contained in:
dtb 2022-05-27 17:58:49 -04:00
parent 3c9e71145e
commit 3a14292b0e
2 changed files with 52 additions and 76 deletions

View File

@ -1,5 +1,6 @@
# System utilities
CC=cc
CFLAGS=-I include/ -I lib/ -Wall -Werror
CFLAGS=-I include/ -I lib/ -Wall
RM=rm -f
all: libraries programs
@ -43,8 +44,10 @@ libstr: lib/libstr.c lib/libstr.h
stdbool: include/stdbool.h
sysexits: src/sysexits.c
sysexits_bin: src/sysexits.c
$(CC) $(CFLAGS) -o bin/sysexits src/sysexits.c
sysexits: sysexits_bin
bin/sysexits >include/sysexits.h
programs: echo false nonzero simexec sleep streq stris
@ -96,4 +99,51 @@ which: libshell src/which.c
$(CC) $(CFLAGS) -c -o src/which.o src/which.c
$(CC) $(CFLAGS) -o bin/which lib/libshell.o src/which.o
# Convenience
PROGRAMS= \
alsa-plugins-nice alsa-utils \
anki audacious \
curl wget \
dvdbackup ffmpeg mpv \
vlc \
awk nawk sed moreutils \
ed vim \
feh ffmpeg imagemagick \
gcc \
git mercurial \
gparted \
gperf gwenview \
htop powertop \
inetutils iptables k3b \
kate kdenlive krita \
lame linux-headers lynx \
macchanger make \
man-pages man-pages-posix \
moc \
net-tools \
nmap p7zip pkgfile \
progress \
pulseaudio pulseaudio-alsa pulseaudio-utils \
pulsemixer \
python3 qbittorrent qemu \
rsync s-tui \
screen tmux twin \
scrot sed smartmontools \
thunar thunderbird \
ttf-liberation tlp \
units \
unrar unzip \
util-linux \
virt-manager \
wireguard-tools \
xclip \
xf86-input-libinput xf86-input-wacom xf86-video-intel \
xscreensaver xterm \
zathura zathura-cb zathura-djvu \
zathura-ps
alpine-setup:
apk add $(PROGRAMS)
.PHONY: all clean cleanlibraries cleanprograms noargvzero stdbool sysexits

View File

@ -1,74 +0,0 @@
alsa-plugins-nice
alsa-utils
anki
audacious
curl
dvdbackup
ed
feh
ffmpeg
gcc
git
gparted
gperf
gwenview
htop
inetutils
iptables
k3b
kate
kdenlive
krita
lame
linux-headers
lynx
macchanger
make
man-pages
mercurial
moc
moreutils
mpv
net-tools
nmap
p7zip
pkgfile
powertop
progress
pulseaudio
pulseaudio-alsa
pulseaudio-utils
pulsemixer
python3
qbittorrent
qemu
rsync
s-tui
screen
scrot
sed
smartmontools
thunar
thunderbird
ttf-liberation
tlp
twin
units
unrar
unzip
util-linux
vim
virt-manager
vlc
wget
wireguard-tools
xclip
xf86-input-libinput
xf86-input-wacom
xf86-video-intel
xscreensaver
xterm
zathura
zathura-cb
zathura-djvu
zathura-ps