aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIkey Doherty2015-08-20 07:42:06 +0100
committerIkey Doherty2015-08-20 08:29:21 +0100
commit96e306f4f84309d2d2f8fbc1ad5b9b7e93f85abc (patch)
tree50bbe724a8f7eaaf1fe57b3889452d37e65b440c
parent0446c2e11ab6cadb17da7c09313eee226dcc40e1 (diff)
downloadsolarc-firefox-theme-96e306f4f84309d2d2f8fbc1ad5b9b7e93f85abc.tar.gz
solarc-firefox-theme-96e306f4f84309d2d2f8fbc1ad5b9b7e93f85abc.tar.xz
solarc-firefox-theme-96e306f4f84309d2d2f8fbc1ad5b9b7e93f85abc.zip
Add autotools based build system
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
-rw-r--r--.gitignore10
-rw-r--r--Makefile.am29
-rw-r--r--configure.ac17
3 files changed, 56 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 5fd775d..2bb60f8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,12 @@
*.xpi
.sass-cache/
+
+Makefile
+Makefile.in
+config.log
+config.status
+configure
+install-sh
+*.m4
+missing
+autom4te.cache/
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..5cae39a
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,29 @@
+ACLOCAL_AMFLAGS = -I m4
+AM_CFLAGS =
+
+EXTRA_DIST = ${top_srcdir}/README.md \
+ ${top_srcdir}/LICENSE \
+ ${top_srcdir}/make-xpi.sh \
+ ${top_srcdir}/arc-firefox-theme
+NULL =
+
+mkxpi:
+ ${top_srcdir}/make-xpi.sh
+
+arc-firefox-theme-$(VERSION).xpi: mkxpi
+arc-darker-firefox-theme-$(VERSION).xpi:
+arc-dark-firefox-theme-$(VERSION).xpi:
+
+BUILT_SOURCES = \
+ arc-firefox-theme-$(VERSION).xpi \
+ arc-darker-firefox-theme-$(VERSION).xpi \
+ arc-dark-firefox-theme-$(VERSION).xpi
+
+CLEANFILES = \
+ $(BUILT_SOURCES)
+
+extensiondir = $(libdir)/firefox/extensions
+extension_DATA = \
+ arc-firefox-theme-$(VERSION).xpi \
+ arc-darker-firefox-theme-$(VERSION).xpi \
+ arc-dark-firefox-theme-$(VERSION).xpi
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..cd784df
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,17 @@
+AC_INIT([arc-firefox-theme], [40.20150819], [https://github.com/horst3180/arc-firefox-theme/issues], [arc-firefox-theme], [https://github.com/horst3180/arc-firefox-theme])
+AM_INIT_AUTOMAKE([-Wno-portability no-dist-gzip dist-xz foreign subdir-objects tar-ustar])
+AC_PREFIX_DEFAULT(/usr/local)
+AM_SILENT_RULES([yes])
+
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
+
+AC_MSG_RESULT([
+ arc-firefox-theme $VERSION
+ ========
+
+ prefix: ${prefix}
+ exec_prefix: ${exec_prefix}
+ datarootdir: ${datarootdir}
+])