Move to an autotools-based build system.
This commit is contained in:
parent
156a5d7131
commit
fd6cf3545b
2
Makefile.am
Normal file
2
Makefile.am
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
bin_SCRIPTS = sunrise-commit
|
||||||
|
man1_MANS = sunrise-commit.1
|
26
configure
vendored
26
configure
vendored
@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
PN=sunrise-commit
|
|
||||||
PV=$(./sunrise-commit --version | cut -f 2 -d ' ')
|
|
||||||
FC_API_WANT=0
|
|
||||||
|
|
||||||
conf_init() {
|
|
||||||
fc_inherit install
|
|
||||||
|
|
||||||
fc_export_functions \
|
|
||||||
conf_get_targets
|
|
||||||
}
|
|
||||||
|
|
||||||
conf_get_targets() {
|
|
||||||
fc_install -x '$(BINDIR)' ${PN}
|
|
||||||
fc_install_man ${PN}.1
|
|
||||||
}
|
|
||||||
|
|
||||||
. fastconf.sh
|
|
||||||
|
|
||||||
echo 'This package requires fastconf in order to be built.'
|
|
||||||
echo 'Please grab it from:'
|
|
||||||
echo ' http://github.com/mgorny/fastconf/'
|
|
||||||
echo 'or your favourite package manager and install.'
|
|
||||||
echo 'Afterwards, rerun this ./configure script. Thank you.'
|
|
||||||
exit 2
|
|
5
configure.in
Normal file
5
configure.in
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
AC_INIT([sunrise-commit], [0.3])
|
||||||
|
AM_INIT_AUTOMAKE([foreign])
|
||||||
|
|
||||||
|
AC_CONFIG_FILES([Makefile sunrise-commit])
|
||||||
|
AC_OUTPUT
|
@ -324,7 +324,7 @@ main() {
|
|||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
--version|-V)
|
--version|-V)
|
||||||
echo 'sunrise-commit 0.3_pre1'
|
echo 'sunrise-commit @VERSION@'
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user