diff options
Diffstat (limited to 'images/Makefile')
-rw-r--r-- | images/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/images/Makefile b/images/Makefile index abbbbfb44..1299543c1 100644 --- a/images/Makefile +++ b/images/Makefile @@ -24,7 +24,14 @@ images: all.kernels/.list if [ `ls images/*.img-* 2>/dev/null | wc -l` -gt 0 ]; then \ mkdir images/alternatives; cd images/alternatives; mv ../*.img-* .; md5sum *.img-* > MD5SUM; sha512sum *.img-* > SHA512SUM; \ fi - cd images; md5sum *.{img,iso}* > MD5SUM; sha512sum *.{img,iso}* > SHA512SUM + if [ `ls images/*.img* 2>/dev/null | wc -l` -gt 0 ]; then \ + md5sum images/*.img* > MD5SUM ; sha512sum images/*.img* > SHA512SUM ; \ + fi + if [ `ls images/*.iso* 2>/dev/null | wc -l` -gt 0 ]; then \ + md5sum images/*.iso* > MD5SUM ; sha512sum images/*.iso* > SHA512SUM ; \ + fi + + all.kernels/.list: update_kernel ./update_kernel $(KERNELS) |