diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2009-02-27 15:56:00 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2009-02-27 15:56:18 +0100 |
commit | eef6905e211c57389e012c48a05132610c922692 (patch) | |
tree | 3cbb63a4998f222cd4c76f54f08539819abffda2 /Makefile | |
parent | ce7cda80bc701c9a331e4d79a04bf831ecd4d57a (diff) | |
download | attr-eef6905e211c57389e012c48a05132610c922692.tar.gz |
Automake and libtool fixes
Remove aclocal.m4 from the repository and generate it when needed.
Add the AC_PROG_LIBTOOL autoconf macro and use libtoolize according to
the libtool info pages.
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -14,7 +14,8 @@ LSRCFILES = configure configure.in aclocal.m4 Makepkgs install-sh exports \ README VERSION LDIRT = config.log .dep config.status config.cache confdefs.h conftest* \ - Logs/* built .census install.* install-dev.* install-lib.* *.gz + Logs/* built .census install.* install-dev.* install-lib.* *.gz \ + config.guess config.sub ltmain.sh libtool LIB_SUBDIRS = include libmisc libattr TOOL_SUBDIRS = attr getfattr setfattr examples test m4 man doc po debian build @@ -40,6 +41,8 @@ clean: # if configure hasn't run, nothing to clean endif configure include/builddefs: + libtoolize -c -f + aclocal -I m4 autoconf ./configure \ --prefix=/ \ @@ -62,9 +65,6 @@ include/config.h: include/builddefs $(MAKE) $(AM_MAKEFLAGS) include/builddefs; \ fi -aclocal.m4:: - aclocal --acdir=`pwd`/m4 --output=$@ - install: default $(addsuffix -install,$(SUBDIRS)) $(INSTALL) -m 755 -d $(PKG_DOC_DIR) $(INSTALL) -m 644 README $(PKG_DOC_DIR) |