27 |
ln -s $$PWD/../gzz/Documentation/Gentle_Introduction gi |
ln -s $$PWD/../gzz/Documentation/Gentle_Introduction gi |
28 |
ln -s $$PWD/../gzz/Documentation/Glossary gl |
ln -s $$PWD/../gzz/Documentation/Glossary gl |
29 |
ln -s $$PWD/../gzz/Documentation/*.png . |
ln -s $$PWD/../gzz/Documentation/*.png . |
|
$(MAKE) gif2png |
|
30 |
|
|
31 |
almost-all: index.html docs.html faq.html download.html cvs.html starting.html mail.html snaps.html subdirs nutshell.html bugs.html gif2png |
almost-all: index.html docs.html faq.html download.html cvs.html starting.html mail.html snaps.html subdirs nutshell.html bugs.html |
|
|
|
|
gif2png : |
|
|
set -e ; set -x; for f in *.gif ; do \ |
|
|
png=`basename $$f .gif`.png ; \ |
|
|
convert $$f $$png; \ |
|
|
for g in *.html ; do \ |
|
|
if [ ! -e $$png.$$g.fixed ] ; then \ |
|
|
sed "s/$$f/$$png/g" $$g > $$g.new ; \ |
|
|
mv $$g.new $$g ; \ |
|
|
touch $$png.$$g.fixed ;\ |
|
|
fi \ |
|
|
done \ |
|
|
done |
|
32 |
|
|
33 |
clean: |
clean: |
34 |
rm -f *.html *.fixed setup |
rm -f *.html *.fixed setup |
43 |
cvs -z3 -d$(USERNAME)@subversions.gnu.org:/webcvs/ co -d target non-gnu/gzz/ |
cvs -z3 -d$(USERNAME)@subversions.gnu.org:/webcvs/ co -d target non-gnu/gzz/ |
44 |
touch $@ |
touch $@ |
45 |
|
|
46 |
mv : setup all gif2png |
mv : setup all |
47 |
rm -rf target-new |
rm -rf target-new |
48 |
mkdir target-new |
mkdir target-new |
49 |
cp -rL *.css *.html *.jpg *.png ug ct dp spec gi gl target-new |
cp -rL *.css *.html *.jpg *.png ug ct dp spec gi gl target-new |
51 |
cp -r target-new/* target |
cp -r target-new/* target |
52 |
@echo "Remember to commit." |
@echo "Remember to commit." |
53 |
|
|
54 |
terse-mv: almost-all gif2png |
terse-mv: almost-all |
55 |
rm -rf target-new |
rm -rf target-new |
56 |
mkdir target-new |
mkdir target-new |
57 |
cp -rL *.css *.html *.jpg *.png target-new/ |
cp -rL *.css *.html *.jpg *.png target-new/ |