1
0

move dist

This commit is contained in:
dtb 2023-12-15 21:40:47 -07:00
parent ee4c4e17a3
commit 16d642aff6

113
Makefile
View File

@ -7,15 +7,31 @@ RM = rm -f
all:
HOMEPAGE_FILES = homepage propaganda/*
dist/homepage:
mkdir -p dist/homepage.tmp
cp $(HOMEPAGE_FILES) dist/homepage.tmp
cd dist/homepage.tmp; sh homepage; cd ../..
$(RM) dist/homepage.tmp/homepage dist/homepage.tmp/homepage.local
mv dist/homepage.tmp dist/homepage
dist/homepage.tar.gz: dist/homepage
tar cz -C dist/homepage . >dist/homepage.tar.gz
dist/argued:
$(MAKE) -C argued
cp argued/argued dist
dist/argued.1:
cp argued/argued.1 dist
dist/battery:
cp niceties/battery dist
dist/battery.linux:
cp niceties/battery.linux dist
dist/battery.netbsd:
cp niceties/battery.netbsd dist
dist/data:
cp niceties/data dist
dist/echo:
$(MAKE) -C echo echo
cp echo/echo dist
dist/echo.1:
cp echo/echo.1 dist
# i made this script to fetch icons for my grandmother and put them in icons/
# so i wouldn't have to fetch the icons for her desktop when i made her a new
@ -65,12 +81,61 @@ dist/grammy.tmp/pressherald.com.png: dist/grammy.tmp
dist/grammy.tmp/weather.com.png: dist/grammy.tmp
curl -o "dist/grammy.tmp/weather.com.png" "https://upload.wikimedia.org/wikipedia/commons/thumb/7/77/The_Weather_Channel_logo_2005-present.svg/1200px-The_Weather_Channel_logo_2005-present.svg.png"
HOMEPAGE_FILES = homepage propaganda/*
dist/homepage:
mkdir -p dist/homepage.tmp
cp $(HOMEPAGE_FILES) dist/homepage.tmp
cd dist/homepage.tmp; sh homepage; cd ../..
$(RM) dist/homepage.tmp/homepage dist/homepage.tmp/homepage.local
mv dist/homepage.tmp dist/homepage
dist/homepage.tar.gz: dist/homepage
tar cz -C dist/homepage . >dist/homepage.tar.gz
dist/ifpublic:
cp ifpublic/ifpublic dist/
cp niceties/ifpublic dist
dist/lowercase:
$(MAKE) -C lowercase lowercase
cp lowercase/lowercase dist
dist/peek:
$(MAKE) -C peek
cp peek/peek dist
dist/peek.1:
cp peek/peek.1 dist
dist/prompt:
$(MAKE) -C echo prompt
cp echo/prompt dist
dist/prompt.1:
cp echo/prompt.1 dist
dist/pschdir:
$(MAKE) -C pschdir
cp pschdir/pschdir dist/pschdir
cp pschdir/pschdir dist
dist/rot:
$(MAKE) -C rot
cp rot/rot dist
dist/rot13:
cp rot/rot13 dist
dist/simexec:
$(MAKE) -C simexec
cp simexec/simexec dist
dist/simexec.1:
cp simexec/simexec.1 dist
dist/sleep:
$(MAKE) -C sleep
cp sleep/sleep dist
dist/sleep.1:
cp sleep/sleep.1 dist
dist/spacer.bin:
# creates an 8GB empty file
@ -82,8 +147,30 @@ dist/spacer.bin:
dist/str:
$(MAKE) -C str
cp str/str dist/
cp str/str dist
dist/str.1:
cp str/str.1 dist
dist/streq:
$(MAKE) -C streq
cp streq/streq dist/
cp streq/streq dist
dist/streq.1:
cp streq/streq.1 dist
dist/uppercase:
$(MAKE) -C lowercase uppercase
cp lowercase/uppercase dist
dist/volume:
cp niceties/volume dist
dist/volume.netbsd:
cp niceties/volume.netbsd dist
dist/volume.pulseaudio:
cp niceties/volume.pulseaudio dist
dist/volume.1:
cp niceties/volume.1 dist