File: create-files.sh

package info (click to toggle)
devhelp-books 0.1-5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,480 kB
  • ctags: 1
  • sloc: makefile: 42; sh: 33
file content (15 lines) | stat: -rw-r--r-- 326 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

NOBOOK=ggad

cd debian

for i in *.files.in; do
    test -f ${i/.in/} && rm ${i/.in/} || /bin/true
    echo "Processing $i..."
    for a in $(cat $i); do
	echo "$NOBOOK" | grep -q "$a" || \
	echo "usr/share/devhelp/books/${a}" >> ${i/.in/}
	echo "usr/share/devhelp/specs/${a}.devhelp" >> ${i/.in/}
    done
done