diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-02-02 12:46:12 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-02-02 12:46:12 (GMT) |
commit | 2cb5bb36e94a777ce4ab12f8d7fd755d8a24e331 (patch) | |
tree | d1e92aab2183dc0ce7bb282356392a9a69153c3c |
Initial commit
-rw-r--r-- | Makefile-browser.am | 4 | ||||
-rw-r--r-- | Makefile.am | 3 | ||||
-rwxr-xr-x | autogen.sh | 13 | ||||
-rw-r--r-- | browser/sugar-html-browser.in | 6 | ||||
-rw-r--r-- | configure.ac | 7 |
5 files changed, 33 insertions, 0 deletions
diff --git a/Makefile-browser.am b/Makefile-browser.am new file mode 100644 index 0000000..d858505 --- /dev/null +++ b/Makefile-browser.am @@ -0,0 +1,4 @@ +bin_SCRIPTS = sugar-html-browser + +sugar-html-browser: $(BROWSERSRCDIR)/sugar-html-browser.in + @sed -e "s|\@pkglibdir\@|$(pkglibdir)|" $< > $@ diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..94fc58a --- /dev/null +++ b/Makefile.am @@ -0,0 +1,3 @@ +BROWSERSRCDIR=$(top_srcdir)/browser + +include $(top_srcdir)/Makefile-browser.am diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..cb3f22f --- /dev/null +++ b/autogen.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +test -n "$srcdir" || srcdir=`dirname "$0"` +test -n "$srcdir" || srcdir=. + +olddir=`pwd` +cd "$srcdir" + +autoreconf --install + +cd "$olddir" + +"$srcdir/configure" "$@" diff --git a/browser/sugar-html-browser.in b/browser/sugar-html-browser.in new file mode 100644 index 0000000..967ab8f --- /dev/null +++ b/browser/sugar-html-browser.in @@ -0,0 +1,6 @@ +#!/bin/sh + +profile=$SUGAR_BUNDLE_PATH/firefox-profile + +mkdir -p $profile +exec firefox -no-remote -profile $profile diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..e3e0ece --- /dev/null +++ b/configure.ac @@ -0,0 +1,7 @@ +AC_INIT([sugar-html-browser], [0.1], [dwnarvaez@gmail.com]) +AM_INIT_AUTOMAKE([foreign]) +AC_CONFIG_FILES([ +Makefile +Makefile-browser +]) +AC_OUTPUT |