Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: bb22f9c5b969ef4154c47918a742e3873819c6d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
soas%.done: soas%.iso soas%.removable.img.tar.lzma soas%.tree.tar.lzma soasxo%.tree.tar.lzma soasxo%.img soasxo%.plc
	touch $@
soasxo%.iso:
	livecd-creator --skip-compression --cache=../cache --fslabel soasxo$* -c ../soas-xo.ks
	md5sum $@ > $@.md5sum
	sha1sum $@ > $@.sha1sum
soas%.iso:
	livecd-creator --skip-compression --cache=../cache --fslabel soas$* -c ../soas.ks
	md5sum $@ > $@.md5sum
	sha1sum $@ > $@.sha1sum
soas%.tree: soas%.iso
	../livecd-iso-to-bootable-tree.sh $^ $@
	du -sk $@ | cut -f 1 > $@.size.txt
	chroot $@ rpm -qa | sort > $@.packages.txt
	chroot $@ rpm -qa --queryformat="%10{SIZE}\t%{NAME}\n" | sort -k1,1n > $@.packages-sizes.txt
soas%.tree.tar.lzma: soas%.tree
	tar -c -C $^ . | lzma -1 > $@
	md5sum $@ > $@.md5sum
	sha1sum $@ > $@.sha1sum
soas%.removable.img: soas%.tree
	../bootable-tree-to-removable-img.sh $^ $@
	du -sk $@ | cut -f 1 > $@.size.txt
soas%.removable.img.tar.lzma: soas%.removable.img
	tar -c $^ | lzma -1 > $@
	md5sum $@ > $@.md5sum
	sha1sum $@ > $@.sha1sum
soasxo%.img: soasxo%.tree
	../bootable-tree-to-xo.sh $^ $@
	du -sk $@ | cut -f 1 > $@.size.txt
	md5sum $@ > $@.md5sum
	sha1sum $@ > $@.sha1sum
soasxo%.plc: soasxo%.img
	../image-digestor.sh $^

.PRECIOUS: soas%.iso soas%.removable.img soas%.removable.img.tar.lzma soas%.tree soas%.tree.tar.lzma soas%.img soas%.plc