1 ftp_url = ftp://user:password@80.74.143.128/httpdocs/ 2 cwd = `os.getcwd()` 3 4 files = 5 ./XviD_Install.exe 6 ./chain.py.html 7 ./cat.wmv 8 ./aap/index.html 9 ./aap/calmar_aap.html 10 ./aap/ristoranteoldtimer_aap.html 11 ./aap/gartmann_aap.html 12 ./aap/bonazuens_aap.html 13 ./aap/bcr_aap.html 14 ./aap/sini_aap.html 15 ./div/fritz_and_wine.html 16 ./vim/index.html 17 ./vim/quickref.txt.html 18 ./vim/calmar_boxes 19 ./vim/vi-bash.html 20 ./vim/vi.html 21 ./vim/vimCheatSheet.html 22 ./vim/vimbuch.jpg 23 ./vim/vimquick.html 24 ./vim/vi_files/hidemail.js 25 ./vim/vi_files/tomplate-riveted-small-trans.gif 26 ./vim/vi_files/1x1-white.gif 27 ./vim/vi_files/vi.gif 28 ./vim/win-map/regkey.jpg 29 ./vim/win-map/kboard1.jpg 30 ./vim/win-map/kboard2.jpg 31 ./vim/win-map/keymapping_win.html 32 ./vim/win-map/replace_esc_capslock.reg 33 ./vim/win-map/scancode.zip 34 ./vim/win-map/xy.reg 35 ./vim/vim-tips.html 36 ./fvwm/root.html 37 ./fvwm/bindings.html 38 ./fvwm/sshot.png 39 ./fvwm/WindowList.png 40 ./fvwm/root.png 41 ./fvwm/index.html 42 ./fvwm/index.php 43 ./fvwm/sshot2.jpg 44 ./fvwm/edge.html 45 ./resize/index.html 46 ./resize/screenshot.jpg 47 ./resize/dialog.jpg 48 ./resize/cal_pixresizer.tar.gz 49 ./resize/cal_pixresizer.zip 50 ./resize/COPYING 51 ./misc/scrlet2rechnung.pdf 52 ./misc/index.html 53 ./misc/rechnung.pdf 54 ./misc/gpg_thunderbird_windows_german.html 55 ./misc/latexsheet.pdf 56 ./pics/vim_on_fire.gif 57 ./pics/blue_calmar.jpg 58 ./pics/i-2000.gif 59 ./pics/fics.jpg 60 ./pics/Fritz_on_GNU_LINUX.jpg 61 ./pics/blackjack.gif 62 ./pics/blackjack.jpg 63 ./pics/fvwm.gif 64 ./pics/fvwm.png 65 ./pics/elinks.jpg 66 ./pics/swpat.png 67 ./pics/aap.gif 68 ./pics/opera.gif 69 ./pics/tuxcool.gif 70 ./pics/mtsbwy.jpg 71 ./pics/tuxturning.gif 72 ./pics/gnu.gif 73 ./pics/Kaetzli.jpg 74 ./pics/windows.gif 75 ./pics/windows.jpg 76 ./pics/windows.png 77 ./pics/vim.png 78 ./pics/calmar_resize.gif 79 ./pics/mini.fvwm.xpm 80 ./pics/firebird.gif 81 ./pics/computer.gif 82 ./pics/i-2000.old.gif 83 ./pics/photo.gif 84 ./pics/ecb-screenshot.jpg 85 ./pics/chess.gif 86 ./pics/linux.png 87 ./favicon.ico 88 ./keybindings/index.html 89 ./emacs/index.html 90 ./emacs/toolbar/gnus_orig_after_step.zip 91 ./emacs/toolbar/latex_toolbar_pic24x24.zip 92 ./emacs/toolbar/toolbar.jpg 93 ./emacs/toolbar/latex_toolbar_pic_normal.zip 94 ./emacs/toolbar/toolbar-orig_after_step.zip 95 ./emacs/toolbar/smalltool.html 96 ./emacs/toolbar/toolbar24x24_after_step.zip 97 ./emacs/toolbar/toolbar/info-up.xpm 98 ./emacs/toolbar/toolbar/debug-cap-up.xpm 99 ./emacs/toolbar/toolbar/folder-cap-up.xpm 100 ./emacs/toolbar/toolbar/news-cap-up.xpm 101 ./emacs/toolbar/toolbar/disk-cap-up.xpm 102 ./emacs/toolbar/toolbar/file-cap-up.xpm 103 ./emacs/toolbar/toolbar/printer-cap-up.xpm 104 ./emacs/toolbar/toolbar/info-prev.xpm 105 ./emacs/toolbar/toolbar/info-next.xpm 106 ./emacs/toolbar/toolbar/info-exit-cap-up.xpm 107 ./emacs/toolbar/toolbar/mail-cap-up.xpm 108 ./emacs/toolbar/toolbar/info-def-cap-up.xpm 109 ./emacs/toolbar/toolbar/info-up-cap-up.xpm 110 ./emacs/toolbar/toolbar/info-next-cap-up.xpm 111 ./emacs/toolbar/toolbar/last-win-cap-up.xpm 112 ./emacs/toolbar/toolbar/info-exit.xpm 113 ./emacs/toolbar/toolbar/next-win-cap-up.xpm 114 ./emacs/toolbar/toolbar/info-prev-cap-up.xpm 115 ./emacs/toolbar/gnus_24x24_after_step.zip 116 ./emacs/refcards/myref.pdf 117 ./emacs/refcards/myref.tex 118 ./emacs/refcards/refcards.html 119 ./linux/perl/spec_variables_files/visit.gif 120 ./linux/perl/spec_variables_files/geov2.js 121 ./linux/perl/spec_variables_files/back.gif 122 ./linux/perl/spec_variables_files/serv.gif 123 ./linux/perl/tips_files/clear30.gif 124 ./linux/perl/tomc.txt 125 ./linux/perl/regexp.html 126 ./linux/perl/spec_variables.html 127 ./linux/perl/regexp_files/basic.css 128 ./linux/expansion.html 129 ./linux/awk.html 130 ./linux/index.html 131 ./linux/qiv-command.html 132 ./linux/U_essentials/ln25.html 133 ./linux/U_essentials/x115.html 134 ./linux/U_essentials/index.html 135 ./linux/U_essentials/x28.html 136 ./linux/U_essentials/x135.html 137 ./linux/www.physics.ubc.ca/index.html 138 ./linux/www.physics.ubc.ca/quick-tips.html 139 ./linux/www.physics.ubc.ca/basics.html 140 ./linux/www.physics.ubc.ca/emacs-refcard.pdf 141 ./linux/www.physics.ubc.ca/remote-access.html 142 ./linux/www.physics.ubc.ca/more-links.html 143 ./linux/www.physics.ubc.ca/long-calculations.html 144 ./linux/www.physics.ubc.ca/useful-tools.html 145 ./linux/thumbnailscript.html 146 ./linux/bash-howto/Bash-Prog-Intro-HOWTO-1.html 147 ./linux/bash-howto/Bash-Prog-Intro-HOWTO-2.html 148 ./linux/bash-howto/Bash-Prog-Intro-HOWTO-3.html 149 ./linux/bash-howto/Bash-Prog-Intro-HOWTO-4.html 150 ./linux/bash-howto/Bash-Prog-Intro-HOWTO-5.html 151 ./linux/bash-howto/Bash-Prog-Intro-HOWTO-6.html 152 ./linux/bash-howto/Bash-Prog-Intro-HOWTO-7.html 153 ./linux/bash-howto/Bash-Prog-Intro-HOWTO-8.html 154 ./linux/bash-howto/Bash-Prog-Intro-HOWTO-9.html 155 ./linux/bash-howto/Bash-Prog-Intro-HOWTO-10.html 156 ./linux/bash-howto/Bash-Prog-Intro-HOWTO-11.html 157 ./linux/bash-howto/Bash-Prog-Intro-HOWTO-12.html 158 ./linux/bash-howto/Bash-Prog-Intro-HOWTO-13.html 159 ./linux/bash-howto/Bash-Prog-Intro-HOWTO-14.html 160 ./linux/bash-howto/Bash-Prog-Intro-HOWTO.html 161 ./linux/man-bash.html 162 ./opera/index.html 163 ./opera/search.ini.html 164 './opera/unix_keyboard (1).ini' 165 './opera/unix_keyboard (1).ini.html' 166 ./opera/search.ini 167 ./dotfiles/Blank.theme.cfg.html 168 ./dotfiles/.slrnrc.html 169 ./dotfiles/.procmailrc.html 170 ./dotfiles/.Xdefaults.html 171 ./dotfiles/XF86Config-4.html 172 ./dotfiles/fstab.html 173 ./dotfiles/dotfiledir/.htaccess 174 ./dotfiles/dotfiledir/fstab 175 ./dotfiles/dotfiledir/mailcap-dot 176 ./dotfiles/dotfiledir/config-2.6.12.15 177 ./dotfiles/dotfiledir/vimrc-dot 178 ./dotfiles/dotfiledir/config-fvwm 179 ./dotfiles/dotfiledir/muttrc 180 ./dotfiles/dotfiledir/elinks.conf 181 ./dotfiles/dotfiledir/bashrc-dot 182 ./dotfiles/dotfiledir/wmailrc-dot 183 ./dotfiles/dotfiledir/config-kernel 184 ./dotfiles/dotfiledir/inittab 185 ./dotfiles/dotfiledir/bash_profile-dot 186 ./dotfiles/dotfiledir/profile 187 ./dotfiles/index.html 188 ./dotfiles/.fvwm2rc.html 189 ./dotfiles/Mutt.theme.cfg.html 190 ./dotfiles/inputrc.html 191 ./dotfiles/.vimrc.html 192 ./dotfiles/inittab.html 193 ./dotfiles/.xinitrc.html 194 ./dotfiles/cmutt.theme.cfg.html 195 ./dotfiles/screenrc.html 196 ./dotfiles/muttrc.html 197 ./dotfiles/config-kernel.html 198 ./dotfiles/profile.html 199 ./dotfiles/Mutt.menus.cfg.html 200 ./ms-windows-fix/index.html 201 ./calmar.asc 202 ./calmar.css 203 ./gallery.css 204 ./index.html 205 ./gallery.html 206 ./gallery_ems.html 207 ./firefox/chrome.rdf 208 ./firefox/index.html 209 ./firefox/htmlBindings.xml 210 ./firefox/browser.xul 211 ./elinks/index.html 212 ./mirror/wmail-2.0.tar.gz 213 ./win-map/regkey.jpg 214 ./win-map/kboard1.jpg 215 ./win-map/kboard2.jpg 216 ./win-map/index.html 217 ./win-map/scancode.zip 218 ./win-map/xy.reg 219 220 :attr { publish = $(ftp_url)%file% } $files 221 222 # the (default) 'all' virtual target (A simple `all : publish' would also work) 223 all : 224 :publish $files 225 226 # the 'gall' virtual (<- no file) target with no dependencies. It just builds 227 gall {virtual}: #special target for publishing the gallery 228 gallery = 229 :tree gallery { skipdir = AAPDIR|original_bilder } # | is or 230 gallery += $name 231 :attr { check = time } $gallery 232 :attr { signfile = $cwd/AAPDIR/gallery_sign } $gallery 233 :attr { publish = $(ftp_url)%file% } $gallery 234 :publish $gallery 235 236 # the 'ems' virtual (<- no file) target with no dependencies. It just builds 237 ems {virtual}: #special target for publishing the gallery 238 gallery_ems = 239 :tree gallery_ems { skipdir = AAPDIR|original_bilder } # | is or 240 gallery_ems += $name 241 :attr { check = time } $gallery_ems 242 :attr { signfile = $cwd/AAPDIR/gallery_sign } $gallery_ems 243 :attr { publish = $(ftp_url)%file% } $gallery_ems 244 :publish $gallery_ems