Signed-off-by: Laszlo Papp <djszapi@archlinux.us> --- autoclean.sh | 36 +----------------------------------- autogen.sh | 6 ++---- configure.ac | 3 ++- 3 files changed, 5 insertions(+), 40 deletions(-) diff --git a/autoclean.sh b/autoclean.sh index 73675f8..0841ef1 100755 --- a/autoclean.sh +++ b/autoclean.sh @@ -1,37 +1,3 @@ #!/bin/sh -xu -[ -f Makefile ] && make distclean -rm -rf autom4te.cache -rm -f {Makefile.in,Makefile} -rm -f {config.h.in,config.h} -rm -f config.status -rm -f configure -rm -f stamp* -rm -f aclocal.m4 -rm -f compile -rm -f libtool - -rm -f lib/libalpm/{Makefile.in,Makefile} -rm -f src/util/{Makefile.in,Makefile} -rm -f src/pacman/{Makefile.in,Makefile} -rm -f scripts/{Makefile.in,Makefile} -rm -f etc/{Makefile.in,Makefile} -rm -f etc/pacman.d/{Makefile.in,Makefile} -rm -f etc/abs/{Makefile.in,Makefile} -rm -f pactest{,/tests}/{Makefile.in,Makefile} -rm -f contrib/{Makefile.in,Makefile} -rm -f doc/{Makefile.in,Makefile} - -rm -f pactest/*.pyc -rm -f doc/html/*.html -rm -f doc/man3/*.3 - -rm -f po/{Makefile.in,Makefile} -rm -f po/POTFILES -rm -f po/stamp-po -rm -f po/*.gmo - -rm -f lib/libalpm/po/{Makefile.in,Makefile} -rm -f lib/libalpm/po/POTFILES -rm -f lib/libalpm/po/stamp-po -rm -f lib/libalpm/po/*.gmo +git clean -x -d -f diff --git a/autogen.sh b/autogen.sh index 964fe5f..d59ea6c 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,6 +1,4 @@ #!/bin/sh -xu -aclocal -autoheader -automake --foreign -autoconf +autoreconf -fi; +rm -Rf autom4te.cache; diff --git a/configure.ac b/configure.ac index dada0dd..959eb7d 100644 --- a/configure.ac +++ b/configure.ac @@ -53,11 +53,12 @@ m4_define([pacman_version], # Autoconf initialization AC_INIT([pacman], [pacman_version], [pacman-dev@archlinux.org]) +AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR([config.h.in]) AC_CONFIG_HEADERS([config.h]) AC_CANONICAL_HOST -AM_INIT_AUTOMAKE +AM_INIT_AUTOMAKE([foreign]) LIB_VERSION=`expr lib_current - lib_age`.lib_age.lib_revision LIB_VERSION_INFO="lib_current:lib_revision:lib_age" -- 1.6.5