Skip to content

Commit

Permalink
Add configure.ac and Makefile.am script
Browse files Browse the repository at this point in the history
  • Loading branch information
Grimler91 committed Aug 3, 2022
1 parent 0273f24 commit d766fac
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
*~
Makefile.in
compile
configure
depcomp
install-sh
missing
19 changes: 19 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright (C) 2022 Termux

# This file is part of termux-tools.

# termux-tools is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# termux-tools is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with termux-tools. If not, see
# <https://www.gnu.org/licenses/>.

SUBDIRS =
40 changes: 40 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
dnl Autoconf script for termux-tools
dnl To rebuild the 'configure' script from this, execute the command
dnl autoconf
dnl in the directory containing this script.
dnl
dnl Copyright (C) 2022 Termux
dnl
dnl This file is part of termux-tools.
dnl
dnl termux-tools is free software: you can redistribute it
dnl and/or modify it under the terms of the GNU General Public
dnl License as published by the Free Software Foundation, either
dnl version 3 of the License, or (at your option) any later version.
dnl
dnl termux-tools is distributed in the hope that it will be
dnl useful, but WITHOUT ANY WARRANTY; without even the implied
dnl warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
dnl See the GNU General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License
dnl along with termux-tools. If not, see
dnl <https://www.gnu.org/licenses/>.

AC_PREREQ([2.69])
AC_INIT([termux-tools], [1.24.0], [[email protected]])

AM_INIT_AUTOMAKE([foreign])

AC_PROG_MAKE_SET

copyright="Copyright (C) 2022 Termux."
AC_DEFINE_UNQUOTED(COPYRIGHT, ["$copyright"],
[Short copyright string for this version of termux-tools.])
termux_prefix="/data/data/com.termux/files/usr"
AC_DEFINE_UNQUOTED(TERMUX_PREFIX, ["$termux_prefix"],
[Termux prefix])

AC_CONFIG_FILES([Makefile])

AC_OUTPUT

0 comments on commit d766fac

Please sign in to comment.