From 96e306f4f84309d2d2f8fbc1ad5b9b7e93f85abc Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Thu, 20 Aug 2015 07:42:06 +0100 Subject: Add autotools based build system Signed-off-by: Ikey Doherty --- .gitignore | 10 ++++++++++ Makefile.am | 29 +++++++++++++++++++++++++++++ configure.ac | 17 +++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 Makefile.am create mode 100644 configure.ac 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} +]) -- cgit v1.2.3