Skip to content

Commit 9372569

Browse files
committed
Applied updates
1 parent 6e77485 commit 9372569

File tree

19 files changed

+47
-61
lines changed

19 files changed

+47
-61
lines changed

.github/workflows/build_wheel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
3737
- name: Prepare build
3838
run: |
39-
./synclibs.sh --use-head && ./autogen.sh && ./configure
39+
./synclibs.sh --use-head && ./autogen.sh && ./configure && make sources >/dev/null
4040
- name: Build Python wheel
4141
run: |
4242
tox -e${{ matrix.toxenv }}

Makefile.am

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -94,34 +94,14 @@ library:
9494
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
9595

9696
distclean: clean
97-
/bin/rm -f Makefile
98-
/bin/rm -f config.status
99-
/bin/rm -f config.cache
100-
/bin/rm -f config.log
101-
/bin/rm -f libvshadow.pc
102-
/bin/rm -f libvshadow.spec
97+
-rm -f Makefile
98+
-rm -f config.status
99+
-rm -f config.cache
100+
-rm -f config.log
101+
-rm -f libvshadow.pc
102+
-rm -f libvshadow.spec
103103
@for dir in ${subdirs}; do \
104104
(cd $$dir && $(MAKE) distclean) \
105105
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
106106
done && test -z "$$fail"
107107

108-
splint:
109-
(cd $(srcdir)/libcerror && $(MAKE) splint $(AM_MAKEFLAGS))
110-
(cd $(srcdir)/libcthreads && $(MAKE) splint $(AM_MAKEFLAGS))
111-
(cd $(srcdir)/libcdata && $(MAKE) splint $(AM_MAKEFLAGS))
112-
(cd $(srcdir)/libclocale && $(MAKE) splint $(AM_MAKEFLAGS))
113-
(cd $(srcdir)/libcnotify && $(MAKE) splint $(AM_MAKEFLAGS))
114-
(cd $(srcdir)/libcsplit && $(MAKE) splint $(AM_MAKEFLAGS))
115-
(cd $(srcdir)/libuna && $(MAKE) splint $(AM_MAKEFLAGS))
116-
(cd $(srcdir)/libcfile && $(MAKE) splint $(AM_MAKEFLAGS))
117-
(cd $(srcdir)/libcpath && $(MAKE) splint $(AM_MAKEFLAGS))
118-
(cd $(srcdir)/libbfio && $(MAKE) splint $(AM_MAKEFLAGS))
119-
(cd $(srcdir)/libfdatetime && $(MAKE) splint $(AM_MAKEFLAGS))
120-
(cd $(srcdir)/libfguid && $(MAKE) splint $(AM_MAKEFLAGS))
121-
(cd $(srcdir)/libvshadow && $(MAKE) splint $(AM_MAKEFLAGS))
122-
(cd $(srcdir)/vshadowtools && $(MAKE) splint $(AM_MAKEFLAGS))
123-
(cd $(srcdir)/pyvshadow && $(MAKE) splint $(AM_MAKEFLAGS))
124-
(cd $(srcdir)/po && $(MAKE) splint $(AM_MAKEFLAGS))
125-
(cd $(srcdir)/tests && $(MAKE) splint $(AM_MAKEFLAGS))
126-
(cd $(srcdir)/ossfuzz && $(MAKE) splint $(AM_MAKEFLAGS))
127-

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ install:
241241
.\builddokan.ps1 -Configuration ${Configuration} -Platform "x64"; }
242242
}
243243
- sh: if test ${BUILD_ENVIRONMENT} = "python-tox" || test ${BUILD_ENVIRONMENT} = "xcode"; then brew update-reset && brew update -q; fi
244-
- sh: if test ${BUILD_ENVIRONMENT} = "python-tox" || test ${BUILD_ENVIRONMENT} = "xcode"; then brew install -q gettext gnu-sed || true; fi
244+
- sh: if test ${BUILD_ENVIRONMENT} = "python-tox" || test ${BUILD_ENVIRONMENT} = "xcode"; then brew install -q autoconf automake gettext gnu-sed libtool macfuse pkg-config || true; fi
245245
- sh: if test ${BUILD_ENVIRONMENT} = "python-tox"; then brew install -q python@${PYTHON_VERSION} tox twine-pypi || true; fi
246246
- cmd: if [%BUILD_ENVIRONMENT%]==[python] (
247247
"%PYTHON%" -m pip install -U pip setuptools twine wheel )
@@ -269,7 +269,7 @@ build_script:
269269
- sh: if test ${BUILD_ENVIRONMENT} = "xcode"; then export PATH="/usr/local/opt/gettext/bin:$PATH"; export SED="/usr/local/bin/gsed"; tests/build.sh ${CONFIGURE_OPTIONS}; fi
270270
- cmd: if [%BUILD_ENVIRONMENT%]==[python] (
271271
"%PYTHON%" setup.py bdist_wheel )
272-
- sh: if test ${BUILD_ENVIRONMENT} = "python-tox"; then export PATH="/usr/local/opt/gettext/bin:$PATH"; export SED="/usr/local/bin/gsed"; ./synclibs.sh && ./autogen.sh && ./configure --disable-nls --disable-shared-libs && make >/dev/null && tox -e${TOXENV}; fi
272+
- sh: if test ${BUILD_ENVIRONMENT} = "python-tox"; then export PATH="/usr/local/opt/gettext/bin:$PATH"; export SED="/usr/local/bin/gsed"; ./synclibs.sh && ./autogen.sh && ./configure --disable-nls --disable-shared-libs && make sources >/dev/null && tox -e${TOXENV}; fi
273273
- cmd: if [%BUILD_ENVIRONMENT%]==[cygwin64] (
274274
xcopy /i /q /s C:\projects\libvshadow C:\cygwin64\home\appveyor\libvshadow &&
275275
C:\cygwin64\bin\bash -e -l -c "cd libvshadow && wget -q 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' -O './config.guess' && wget -q 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' -O './config.sub'" &&

common/Makefile.am

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ MAINTAINERCLEANFILES = \
1919
Makefile.in
2020

2121
distclean: clean
22-
/bin/rm -f config.h
23-
/bin/rm -f types.h
24-
/bin/rm -f Makefile
22+
-rm -f config.h
23+
-rm -f types.h
24+
-rm -f Makefile
2525

configure.ac

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ AC_PREREQ([2.71])
22

33
AC_INIT(
44
[libvshadow],
5-
[20231014],
5+
[20231116],
66
77

88
AC_CONFIG_SRCDIR(
99
[include/libvshadow.h.in])
1010

1111
AM_INIT_AUTOMAKE([gnu 1.6 tar-ustar])
12+
AM_EXTRA_RECURSIVE_TARGETS([sources splint])
1213

1314
AC_CONFIG_MACRO_DIR([m4])
1415

include/Makefile.am

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ MAINTAINERCLEANFILES = \
1919
Makefile.in
2020

2121
distclean: clean
22-
/bin/rm -f libvshadow.h
23-
/bin/rm -f libvshadow/definitions.h
24-
/bin/rm -f libvshadow/features.h
25-
/bin/rm -f libvshadow/types.h
26-
/bin/rm -f Makefile
22+
-rm -f libvshadow.h
23+
-rm -f libvshadow/definitions.h
24+
-rm -f libvshadow/features.h
25+
-rm -f libvshadow/types.h
26+
-rm -f Makefile
2727

libvshadow/Makefile.am

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,13 @@ MAINTAINERCLEANFILES = \
7979
Makefile.in
8080

8181
distclean: clean
82-
/bin/rm -f libvshadow_definitions.h
83-
/bin/rm -f libvshadow.rc
84-
/bin/rm -f Makefile
82+
-rm -f libvshadow_definitions.h
83+
-rm -f libvshadow.rc
84+
-rm -f Makefile
8585

86-
splint:
86+
sources-local: $(BUILT_SOURCES)
87+
88+
splint-local:
8789
@echo "Running splint on libvshadow ..."
8890
-splint -preproc -redef $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(libvshadow_la_SOURCES)
8991

manuals/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ MAINTAINERCLEANFILES = \
1212
Makefile.in
1313

1414
distclean: clean
15-
/bin/rm -f Makefile
15+
-rm -f Makefile
1616

msvscpp/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ MAINTAINERCLEANFILES = \
3838
Makefile.in
3939

4040
distclean: clean
41-
/bin/rm -f Makefile
41+
-rm -f Makefile
4242

ossfuzz/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ MAINTAINERCLEANFILES = \
3737
Makefile.in
3838

3939
distclean: clean
40-
/bin/rm -f Makefile
40+
-rm -f Makefile
4141

42-
splint:
42+
splint-local:
4343
@echo "Running splint on volume_fuzzer ..."
4444
-splint -preproc -redef $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(volume_fuzzer_SOURCES)
4545

0 commit comments

Comments
 (0)