[alsa-devel] [PATCH v2 1/3] ucm-conf: Set up for installation

fuweix.tang at intel.com fuweix.tang at intel.com
Wed Apr 12 10:54:11 CEST 2017


From: Fuwei Tang <fuweix.tang at intel.com>

This add autoconf and automake script and Makefile.am for conf files to be
installed automatically.

Signed-off-by: Fuwei Tang <fuweix.tang at intel.com>
---
 .gitignore   | 12 ++++++++++++
 ChangeLog    |  1 +
 INSTALL      |  1 +
 Makefile.am  |  1 +
 configure.ac | 22 ++++++++++++++++++++++
 gitcompile   |  5 +++++
 6 files changed, 42 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 ChangeLog
 create mode 120000 INSTALL
 create mode 100644 Makefile.am
 create mode 100644 configure.ac
 create mode 100755 gitcompile

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..acbc113
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,12 @@
+aclocal.m4
+AUTHORS
+autom4te.cache
+autoscan.log
+config.log
+config.status
+configure
+install-sh
+Makefile
+Makefile.in
+missing
+NEWS
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..2a8eb65
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1 @@
+Move all conf files to alsa-ucm-conf repo from alsa-lib repo.
diff --git a/INSTALL b/INSTALL
new file mode 120000
index 0000000..ddcdb76
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1 @@
+/usr/share/automake-1.15/INSTALL
\ No newline at end of file
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..e2baa04
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS=
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..0723060
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,22 @@
+#                                               -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.69])
+AC_INIT(alsa-ucm-conf, 1.1.3)
+AM_INIT_AUTOMAKE
+# Checks for programs.
+
+# Checks for libraries.
+
+# Checks for header files.
+
+# Checks for typedefs, structures, and compiler characteristics.
+
+# Checks for library functions.
+AC_CONFIG_FILES([Makefile])
+
+ALSA_CONFIG_DIR="/usr/share/alsa"
+test "x$prefix" != xNONE && ALSA_CONFIG_DIR=$prefix
+AC_SUBST(ALSA_CONFIG_DIR)
+
+AC_OUTPUT
diff --git a/gitcompile b/gitcompile
new file mode 100755
index 0000000..fff6769
--- /dev/null
+++ b/gitcompile
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+aclocal
+autoconf
+automake --add-missing
-- 
2.7.4



More information about the Alsa-devel mailing list