more
This commit is contained in:
parent
325fa5ef64
commit
bc3b7c3f50
12
dist/Makefile
vendored
Normal file
12
dist/Makefile
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
bin:
|
||||
mkdir -p bin
|
||||
|
||||
battery: bin/battery
|
||||
bin/battery: bin ../battery/battery
|
||||
cp ../battery/battery* bin/
|
||||
|
||||
volume: bin/volume
|
||||
bin/volume: bin ../volume/volume
|
||||
cp ../volume/volume* bin/
|
||||
|
||||
.PHONY: battery volume
|
20
volume/Makefile
Normal file
20
volume/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
all: ;
|
||||
clean: ;
|
||||
sane: ;
|
||||
|
||||
dist: ../dist/volume.tar.gz
|
||||
|
||||
../dist/volume: volume
|
||||
mkdir -p ../dist/volume.tmp/bin/
|
||||
cp volume* ../dist/volume.tmp/bin/
|
||||
mv ../dist/volume.tmp ../dist/volume
|
||||
|
||||
../dist/volume.tar: ../dist/volume
|
||||
cd ../dist/volume && pax -w -x ustar . >../volume.tar.tmp
|
||||
mv ../dist/volume.tar.tmp ../dist/volume.tar
|
||||
|
||||
../dist/volume.tar.gz: ../dist/volume.tar
|
||||
gzip -c <../dist/volume.tar >../dist/volume.tar.gz.tmp
|
||||
mv ../dist/volume.tar.gz.tmp ../dist/volume.tar.gz
|
||||
|
||||
.PHONY: all clean sane
|
Loading…
Reference in New Issue
Block a user