aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorst31802015-08-20 13:33:16 +0200
committerhorst31802015-08-20 13:33:16 +0200
commit59803702086f0616ef1ce65726497c38d48db761 (patch)
tree50bbe724a8f7eaaf1fe57b3889452d37e65b440c
parent0446c2e11ab6cadb17da7c09313eee226dcc40e1 (diff)
parent96e306f4f84309d2d2f8fbc1ad5b9b7e93f85abc (diff)
downloadsolarc-firefox-theme-59803702086f0616ef1ce65726497c38d48db761.tar.gz
solarc-firefox-theme-59803702086f0616ef1ce65726497c38d48db761.tar.xz
solarc-firefox-theme-59803702086f0616ef1ce65726497c38d48db761.zip
Merge pull request #3 from ikeydoherty/autotools
Add autotools based build system
-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}
+])