1 2 3 4 5 6 7 8
#!/usr/bin/make -f # Assist file for ./compare tmp/%.debian.filelist: curl http://packages.debian.org/sid/all/$*/filelist|sed -n "/<pre>/,/<\/pre>/{ s|.*<pre>||; s|</pre>.*||; /./p }"|sed 's|/||'|sort > $@ tmp/%.pacman.filelist: ( cd pkg/$* && find * -not -type d; ) | sort > $@