forked from pool/libuna
e1a98b6821
- Update to snapshot 20210418 (2939fe8f) OBS-URL: https://build.opensuse.org/request/show/893368 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libuna?expand=0&rev=14
67 lines
1.8 KiB
Diff
67 lines
1.8 KiB
Diff
---
|
|
Makefile.am | 12 +++++-------
|
|
configure.ac | 7 ++-----
|
|
manuals/Makefile.am | 4 +++-
|
|
3 files changed, 10 insertions(+), 13 deletions(-)
|
|
|
|
Index: libuna-20210418/Makefile.am
|
|
===================================================================
|
|
--- libuna-20210418.orig/Makefile.am
|
|
+++ libuna-20210418/Makefile.am
|
|
@@ -3,13 +3,11 @@ ACLOCAL_AMFLAGS = -I m4
|
|
SUBDIRS = \
|
|
include \
|
|
common \
|
|
- libcerror \
|
|
- libuna \
|
|
- libcdatetime \
|
|
- libclocale \
|
|
- libcnotify \
|
|
- libcfile \
|
|
- unatools \
|
|
+ libuna
|
|
+if MAKE_TOOLS
|
|
+SUBDIRS += unatools
|
|
+endif
|
|
+SUBDIRS += \
|
|
po \
|
|
documents \
|
|
manuals \
|
|
Index: libuna-20210418/configure.ac
|
|
===================================================================
|
|
--- libuna-20210418.orig/configure.ac
|
|
+++ libuna-20210418/configure.ac
|
|
@@ -115,16 +115,13 @@ AC_SUBST(
|
|
[SPEC_DATE],
|
|
[`date +"%a %b %e %Y" 2> /dev/null`])
|
|
|
|
+AC_ARG_ENABLE([tools], [AS_HELP_STRING([--disable-tools], [Do not build tools])], [make_tools=0], [make_tools=1])
|
|
+AM_CONDITIONAL([MAKE_TOOLS], [test "$make_tools" = 1])
|
|
dnl Generate Makefiles
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_CONFIG_FILES([include/Makefile])
|
|
AC_CONFIG_FILES([common/Makefile])
|
|
-AC_CONFIG_FILES([libcerror/Makefile])
|
|
AC_CONFIG_FILES([libuna/Makefile])
|
|
-AC_CONFIG_FILES([libcdatetime/Makefile])
|
|
-AC_CONFIG_FILES([libclocale/Makefile])
|
|
-AC_CONFIG_FILES([libcnotify/Makefile])
|
|
-AC_CONFIG_FILES([libcfile/Makefile])
|
|
AC_CONFIG_FILES([unatools/Makefile])
|
|
AC_CONFIG_FILES([po/Makefile.in])
|
|
AC_CONFIG_FILES([po/Makevars])
|
|
Index: libuna-20210418/manuals/Makefile.am
|
|
===================================================================
|
|
--- libuna-20210418.orig/manuals/Makefile.am
|
|
+++ libuna-20210418/manuals/Makefile.am
|
|
@@ -1,6 +1,8 @@
|
|
man_MANS = \
|
|
- unaexport.1 \
|
|
libuna.3
|
|
+if MAKE_TOOLS
|
|
+man_MANS += unaexport.1
|
|
+endif
|
|
|
|
EXTRA_DIST = \
|
|
unaexport.1 \
|