ppcrcd/trunk/Makefile
sparky
cvs at pld-linux.org
Wed Aug 9 02:48:15 CEST 2006
Author: sparky
Date: Wed Aug 9 02:48:13 2006
New Revision: 7625
Modified:
ppcrcd/trunk/Makefile
Log:
- prepare for new version before I'll go
Modified: ppcrcd/trunk/Makefile
==============================================================================
--- ppcrcd/trunk/Makefile (original)
+++ ppcrcd/trunk/Makefile Wed Aug 9 02:48:13 2006
@@ -1,6 +1,6 @@
# @_VERSION_@
-VERSION = SeemsToWork
+VERSION = BeforeIllGo
VER13 = $(shell echo '"$(VERSION)" ' | cut -c 1-13 )
DATE = $(shell date -I -u)
@@ -340,6 +340,27 @@
@LANGUAGE= LANG= LC_ALL=C rpm --root=$(PWD)/$(root_inst) -qa \
--queryformat="<b>%{NAME}</b>(%{EPOCH}:%{VERSION}-%{RELEASE})ľ\t<i>%{SUMMARY}</i>\n" | sort | tr "ľ" "\n"
+.PHONY: index
+index: page.work/$(DATE)/bonus
+ @cat doc/page_head.html
+ @echo '$(VER13)'
+ @echo '<a href="$(DATE)/ppcrcd.iso">here</a>.</b>'
+ @echo -n '<br /><tt>size: '
+ @ls -lk out/ppcrcd.iso | awk '{print $$5 "kb</tt><br />"}'
+ @echo -n '<tt>MD5: '
+ @md5sum out/ppcrcd.iso | awk '{print $$1 "</tt>"}'
+ @echo '</p><h4>bonus files:</h4><pre>'
+ @cd page.work/$(DATE)/bonus && md5sum * | \
+ awk '{print $$1 " <a href=\"$(DATE)/bonus/" $$2 "\">" $$2 "</a>" }'
+ @echo '</pre><h3>Installed packages</h3><pre>'
+ @make --no-print-directory info
+ @echo '</pre>'
+ @echo "<p>I'm waiting for your feedback:"
+ @echo '<a href="mailto:sparky at fsck.spam@pld-linux.org"'
+ @echo 'title="PPCRCD: (real subject)">'
+ @echo 'sparky at fsck.spam@pld-linux.org</a></p>'
+ @echo '</body></html>'
+
page: out/ppcrcd.iso doc/page_head.html out/images/initrd.sqf out/images/vmlinux $(ZIMAGES)
rm -rf $@{,.work}
mkdir -p $@.work/$(DATE)/bonus
@@ -347,20 +368,7 @@
cp $(DOCS) $@.work
cp out/images/initrd.sqf out/images/vmlinux $(ZIMAGES) $@.work/$(DATE)/bonus/
mv $@.work/{index.html,docs.html}
- cat doc/page_head.html > $@.work/index.html
- echo '$(VER13)' >> $@.work/index.html
- echo '<a href="$(DATE)/ppcrcd.iso">here</a>.</b>' >> $@.work/index.html
- echo '<br />size: ' >> $@.work/index.html
- ls -lk out/ppcrcd.iso | awk '{print $$5}' >> $@.work/index.html
- echo 'kb <br />MD5: ' >> $@.work/index.html
- md5sum out/ppcrcd.iso | awk '{print $$1}' >> $@.work/index.html
- echo '</p><h4>bonus files:</h4><pre>' >> $@.work/index.html
- cd $@.work/$(DATE)/bonus && md5sum * | \
- awk '{print $$1 " <a href=\"$(DATE)/bonus/" $$2 "\">" $$2 "</a>" }' \
- >> ../../index.html
- echo '</pre><h3>Installed packages</h3><pre>' >> $@.work/index.html
- make --no-print-directory info >> $@.work/index.html
- echo '</pre></body></html>' >> $@.work/index.html
+ make --no-print-directory index > $@.work/index.html
chmod -R a+rX $@.work
mv -f $@{.work,}
touch $@
More information about the pld-cvs-commit
mailing list