~ubuntu-branches/ubuntu/warty/matchbox/warty

« back to all changes in this revision

Viewing changes to standalone_header_gen.sh

  • Committer: Bazaar Package Importer
  • Author(s): Steinar H. Gunderson
  • Date: 2004-02-16 01:27:37 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040216012737-fakbjc1vs72vcz2w
Tags: 1:0.6.2-1.1
* Non-Maintainer Upload.
* Add -fPIC to libmb.so linker flags. (Closes: #227920)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
#
 
3
# This script generates a header file for use in a standalone build
 
4
#
 
5
echo "Generating standalone header file"
 
6
echo "char xmldata[] = " > src/standalone.h
 
7
sed -e's/"/\\\\"/g' < data/themes/depno/theme.xml.in | while read a; do echo \"$a\\n\" >> src/standalone.h; done
 
8
echo ";" >> src/standalone.h