From 2cb5bb36e94a777ce4ab12f8d7fd755d8a24e331 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Sat, 02 Feb 2013 12:46:12 +0000 Subject: Initial commit --- 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 -- cgit v0.9.1