summaryrefslogtreecommitdiff
path: root/maintainer
diff options
context:
space:
mode:
authorpab <devnull@localhost>2009-08-08 23:13:39 +0000
committerpab <devnull@localhost>2009-08-08 23:13:39 +0000
commit31a8c3911ace8c1786997626ff6a6fdc13341bdb (patch)
tree3ac370128c3b2819aff5c13ec0247011a4ab9add /maintainer
parent54d2b6d2b05b13bc023a1d91033109bb21976ba8 (diff)
Add packaging of opengis
Diffstat (limited to 'maintainer')
-rw-r--r--maintainer/genpd.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/maintainer/genpd.sh b/maintainer/genpd.sh
new file mode 100644
index 0000000..be9489d
--- /dev/null
+++ b/maintainer/genpd.sh
@@ -0,0 +1,18 @@
+find pyxb/bundles -name '*.wxs' \
+ > /tmp/x$$
+cat /tmp/x$$ \
+ | sed -e 's@/[^/]*$@@' \
+ | sort \
+ | uniq \
+ > /tmp/y$$
+
+for f in `cat /tmp/y$$` ; do
+ echo -n `echo "'${f}'" | sed -e 's@/@.@'`
+ echo ' : ['
+ grep "^${f}" /tmp/x$$ \
+ | sed -e 's@^.*/\([^/]*\)$@\1@' \
+ | sed -e 's@^@"@' -e 's@$@",@' \
+ | fmt
+ echo '],'
+done
+rm -f /tmp/x$$ /tmp/y$$