diff --git a/Makefile.am b/Makefile.am index 71e88a5..e36939b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -73,3 +73,12 @@ EXTRA_DIST = \ autogen.sh \ INSTALL \ $(dist_doc_DATA) + +install-exec-hook: + $(LN_S) -f @bindir@/lrzip$(EXEEXT) @bindir@/lrunzip + $(LN_S) -f @bindir@/lrztar @bindir@/lrzuntar + + +uninstall-local: + rm -f @bindir@/lrunzip + rm -f @bindir@/lrzuntar diff --git a/configure.ac b/configure.ac index e34b005..66ba868 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## m4_define([v_maj], [0]) m4_define([v_min], [6]) -m4_define([v_mic], [00]) +m4_define([v_mic], [01]) ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## m4_define([v_v], m4_join([], v_min, v_mic)) m4_define([v_ver], [v_maj.v_v]) @@ -84,6 +84,12 @@ AC_CHECK_SIZEOF(int) AC_CHECK_SIZEOF(long) AC_CHECK_SIZEOF(short) +if test $ac_cv_sizeof_long != 4 -a "x$ASM" = "xyes" ; then + AC_MSG_WARN([64bit arch detected, disabling ASM]) + ASM=no +fi + + AC_CACHE_CHECK([for large file support],rzip_cv_HAVE_LARGE_FILES,[ AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include @@ -148,7 +154,7 @@ echo echo echo "Configuration Options Summary:" echo -echo " ASM................: $ASM" +echo " ASM.(32 bit only)..: $ASM" echo " Static binary......: $static" echo echo "Compilation............: make (or gmake)" diff --git a/man/Makefile.am b/man/Makefile.am index 51b754a..cbaed19 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,6 +1,18 @@ MAINTAINERCLEANFILES = Makefile.in lrunzip.1 lrztar.1 lrzuntar.1 -man1_MANS = lrzip.1 lrunzip.1.pod lrztar.1.pod lrzuntar.1.pod +man1_MANS = lrzip.1 lrunzip.1 lrztar.1 lrzuntar.1 man5_MANS = lrzip.conf.5 -EXTRA_DIST = $(man1_MANS) $(man5_MANS) +BUILT_SOURCES = lrunzip.1 lrztar.1 lrzuntar.1 +CLEANFILES = $(BUILT_SOURCES) + +EXTRA_DIST = lrzip.1 lrunzip.1.pod lrztar.1.pod lrzuntar.1.pod $(man5_MANS) + +lrunzip.1: lrunzip.1.pod + pod2man $< $@ + +lrztar.1: lrztar.1.pod + pod2man $< $@ + +lrzuntar.1: lrzuntar.1.pod + pod2man $< $@